Hi Team , in flink 1.13.6 , we are noticing jobma...
# troubleshooting
m
Hi Team , in flink 1.13.6 , we are noticing jobmanager loosing submitted jobgraph from file / s3 object store (seaweefs) are there any changes job manager lost ha-state ? are there any best ways to recover ha-state without restarting jobmanager?
Copy code
2023-12-07 17:55:21,721 INFO  org.apache.flink.runtime.dispatcher.runner.SessionDispatcherLeaderProcess [] - Trying to recover job with job id 12c749a0e9c311d1106cc4bf42d733a6.
2023-12-07 17:55:21,733 INFO  org.apache.flink.runtime.resourcemanager.StandaloneResourceManager [] - Dispatcher akka.tcp://flink@10.244.132.89:6123/user/rpc/resourcemanager_0 completed job recovery and leadership confirmation with fencing token d5db40b0-3d56-4276-b73a-3c933bf8641d
2023-12-07 17:55:21,919 INFO  org.apache.flink.runtime.dispatcher.runner.SessionDispatcherLeaderProcess [] - Stopping SessionDispatcherLeaderProcess.
2023-12-07 17:55:21,921 INFO  org.apache.flink.runtime.jobmanager.DefaultJobGraphStore     [] - Stopping DefaultJobGraphStore.
2023-12-07 17:55:21,922 ERROR org.apache.flink.runtime.entrypoint.ClusterEntrypoint        [] - Fatal error occurred in the cluster entrypoint.
java.util.concurrent.CompletionException: org.apache.flink.util.FlinkRuntimeException: Could not recover job with job id 12c749a0e9c311d1106cc4bf42d733a6.
        at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_322]
        at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) [?:1.8.0_322]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606) [?:1.8.0_322]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_322]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_322]
        at java.lang.Thread.run(Thread.java:750) [?:1.8.0_322]
Caused by: org.apache.flink.util.FlinkRuntimeException: Could not recover job with job id 12c749a0e9c311d1106cc4bf42d733a6.
        at org.apache.flink.runtime.dispatcher.runner.SessionDispatcherLeaderProcess.recoverJob(SessionDispatcherLeaderProcess.java:144) ~[flink-dist_2.11-1.13.6-splunk-2.jar:1.13.6-splunk-2]
        at org.apache.flink.runtime.dispatcher.runner.SessionDispatcherLeaderProcess.recoverJobs(SessionDispatcherLeaderProcess.java:122) ~[flink-dist_2.11-1.13.6-splunk-2.jar:1.13.6-splunk-2]
        at org.apache.flink.runtime.dispatcher.runner.AbstractDispatcherLeaderProcess.supplyUnsynchronizedIfRunning(AbstractDispatcherLeaderProcess.java:198) ~[flink-dist_2.11-1.13.6-splunk-2.jar:1.13.6-splunk-2]
        at org.apache.flink.runtime.dispatcher.runner.SessionDispatcherLeaderProcess.recoverJobsIfRunning(SessionDispatcherLeaderProcess.java:113) ~[flink-dist_2.11-1.13.6-splunk-2.jar:1.13.6-splunk-2]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[?:1.8.0_322]
        ... 3 more
Caused by: com.facebook.presto.hive.s3.PrestoS3FileSystem$UnrecoverableS3OperationException: com.amazonaws.services.s3.model.AmazonS3Exception: The specified key does not exist. (Service: Amazon S3; Status Code: 404; Error Code: NoSuchKey; Request ID: 1701971721882933269; S3 Extended Request ID: null; Proxy: null), S3 Extended Request ID: null (Path: s3://flink-state/flink/default/submittedJobGraph8402b4d82ab6)