raghav tandon
01/11/2024, 3:38 PM_entropy_ string is not getting replaced with a random one..
s3.entropy.key: _entropy_
s3.entropy.length: 4
state.checkpoints.dir: s3p://flink-bucket/_entropy_/
state.backend: rocksdb
state.backend.async: true
high-availability: zookeeper
high-availability.storageDir: s3://flink-staging/ha
But the actual path in S3 is s3://flink-bucket/job-id/chk-14/ - I can only see _metadata file inside this folder
Plugin - flink-s3-fs-presto-1.16.1.jar
Can someone please tell what is missing i am expecting to see something like this in S3 - ``s3://flink-bucket/random 4 digit/job-id/chk-14/`anuj sharma
01/13/2024, 12:24 PManuj sharma
01/13/2024, 12:26 PMThe Flink runtime currently passes the option to inject entropy only to checkpoint data files. All other files, including checkpoint metadata and external URI, do not inject entropy to keep checkpoint URIs predictable.
raghav tandon
01/14/2024, 1:56 PM_metadata file only and no data files were created state.storage.fs.memory-threshold
After fixing the state part - I can see the random folders now (entropy is working fine)
Along with that there is directory _entropy_ as well which has shared and taskowned and chk-XXX files as well (all empty folders) <- why is this happening?
And also a directory named checkpoints which has chk-XXX folders and there i can see _metadata file (This is expected)
Another unexpected behaviour is it is not deleting any random files from S3, as I have retained-checkpoints=2 only…raghav tandon
01/14/2024, 1:59 PMraghav tandon
01/16/2024, 11:22 AMs3p was causing this behaviour… Thanks for all the answers