Jirawech Siwawut
04/12/2023, 4:29 PMorg.apache.flink.runtime.checkpoint.CheckpointException: Failure to finalize checkpoint.
at org.apache.flink.runtime.checkpoint.CheckpointCoordinator.finalizeCheckpoint(CheckpointCoordinator.java:1346) ~[flink-runtime-1.15.1.jar:1.15.1]
at org.apache.flink.runtime.checkpoint.CheckpointCoordinator.completePendingCheckpoint(CheckpointCoordinator.java:1241) ~[flink-runtime-1.15.1.jar:1.15.1]
at org.apache.flink.runtime.checkpoint.CheckpointCoordinator.receiveAcknowledgeMessage(CheckpointCoordinator.java:1133) ~[flink-runtime-1.15.1.jar:1.15.1]
at org.apache.flink.runtime.scheduler.ExecutionGraphHandler.lambda$acknowledgeCheckpoint$1(ExecutionGraphHandler.java:89) ~[flink-runtime-1.15.1.jar:1.15.1]
at org.apache.flink.runtime.scheduler.ExecutionGraphHandler.lambda$processCheckpointCoordinatorMessage$3(ExecutionGraphHandler.java:119) ~[flink-runtime-1.15.1.jar:1.15.1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_301]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_301]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_301]
Caused by: com.amazonaws.services.s3.model.AmazonS3Exception: The specified bucket does not exist (Service: Amazon S3; Status Code: 404; Error Code: NoSuchBucket;
Here is my setup
flink-conf.yaml
s3.access-key: accces_key
s3.secret-key: secret_key
s3.endpoint: <http://myendpoint.com|myendpoint.com>
---
env.setStateBackend(new FsStateBackend("<s3://mybucket/checkpoint>"));
I found that it is still connecting to default s3 endpoint from debug logpiby 180
04/12/2023, 5:28 PMpresto.s3.endpoint : <http://s3.eu-central-1.amazonaws.com|s3.eu-central-1.amazonaws.com>Jirawech Siwawut
04/12/2023, 5:51 PMpresto.s3.endpoint no luck.
is it possible that it is fixed to s3.amazonaws.com. I found this linkpiby 180
04/12/2023, 6:40 PMJirawech Siwawut
04/13/2023, 1:25 AMJirawech Siwawut
04/13/2023, 10:38 AMpresto.s3.access-key: access
presto.s3.secret-key: secret
presto.s3.endpoint : <http://s3.eu-central-1.amazonaws.com|s3.eu-central-1.amazonaws.com>
I still see that endpoint is not overriden.