naman joshi
01/17/2025, 12:29 PMCould not find a file system implementation for scheme 's3'.
I have even added direct aws creds just in case permission issue.. but still same error...
FlinkDeployment config.
flinkConfiguration:
taskmanager.numberOfTaskSlots: "1"
state.backend.type: rocksdb # Recommended for production-grade durability and performance
execution.checkpointing.data-inline-threshold: "20kb" # Optional: Tune based on your data
execution.checkpointing.incremental: "true" # Use incremental checkpoints for efficient storage
state.backend.rocksdb.checkpoint.transfer.filesystem: "true"
execution.checkpointing.savepoint-dir: "s3://xxxxx-flink-test/savepoints/"
state.checkpoints.dir: "s3://xxxx-flink-test/checkpoints/"
execution.checkpointing.num-retained: "5" # Number of checkpoints to retain
execution.checkpointing.interval: "120000" # Checkpoint every 120 seconds
execution.checkpointing.min-pause: "10000" # Minimum 5 seconds pause between checkpoints
execution.checkpointing.timeout: "60000" # Timeout after 1 minute
execution.checkpointing.tolerable-failed-checkpoints: "2" # Allow up to 2 consecutive checkpoint failures
execution.checkpointing.unaligned.enabled: "true" # Enable unaligned checkpoints for better performance under backpressure
s3.endpoint: "s3.eu-west-1.amazonaws.com"
s3.path.style.access: "true" # Required for path-style access
s3.access-key: "XXXXX"
s3.secret-key: "XXXXX"
fs.s3a.endpoint: "s3.eu-west-1.amazonaws.com"
fs.s3a.path.style.access: "true"
fs.s3a.multipart.uploads.enabled: "true" # Enable multi-part uploads for large files
fs.s3a.threads.max: "10" # Parallelize uploads/downloads
fs.s3a.connection.maximum: "50" # Maximum S3 connections
fs.s3a.fast.upload: "true" # Use faster upload mechanism
fs.s3a.access.key: "XXXXX"
fs.s3a.secret.key: "XXXXX"
fs.allowed-fallback-filesystems: s3, s3a
logging.level: DEBUGThomas Cooper
01/17/2025, 2:40 PMflink-s3-fs-* jars are present in whatever image you are using with the FlinkDeployment?Manojit Roy
01/17/2025, 8:12 PMflink-s3-fs-* jar from the opt to corresponding directory plugins/s3-fs-* . This will definitely resolve this issue.
Please refer to this for details.naman joshi
01/20/2025, 2:43 AMnaman joshi
01/20/2025, 3:26 AMManojit Roy
01/20/2025, 7:48 AMManojit Roy
01/20/2025, 8:07 AMnaman joshi
01/20/2025, 9:11 AMcan you not copy the presto jar if it's not mandatory?I found this from the documentations, is there any other way to add these jar files in my docker file?
also make sure, the task manager is using the updated imageYes, after building the image I am re-deploying the app...
Manojit Roy
01/20/2025, 9:29 AMRUN mkdir ./plugins/s3-fs-hadoop && cp ./opt/flink-s3-fs-hadoop-1.20.0.jar ./plugins/s3-fs-hadoop/
There's no need to install from the central.
> Yes, after building the image I am re-deploying the app...
Please check the plugins dir once the task manager pod is spawned to confirm. Alternatively, You can also check logs emitted by:
org.apache.flink.core.plugin.DefaultPluginManager
it should log something like "Plugin loader with ID ..." for each found plugin.naman joshi
01/20/2025, 9:36 AMManojit Roy
01/20/2025, 10:10 AMnaman joshi
01/20/2025, 10:21 AMnaman joshi
01/20/2025, 1:43 PMManojit Roy
01/20/2025, 2:45 PMnaman joshi
01/21/2025, 8:41 AM