incubator-streampark icon indicating copy to clipboard operation
incubator-streampark copied to clipboard

[Bug] Savepoints is not the path of the last checkpoint file.

Open COBHzhangfei opened this issue 3 years ago • 1 comments

Search before asking

  • [x] I had searched in the issues and found no similar issues.

What happened

Sometimes it is not the path of the last checkpoint file that is saved, but the penultimate one, which results in an error when the checkpoint file cannot be found at startup.

StreamX Version

1.2.2

Java Version

1.8

Flink Version

1.13.6

Scala Version of Flink

2.11

Error Exception

Stack trace: ExitCodeException exitCode=2:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:933)
at org.apache.hadoop.util.Shell.run(Shell.java:844)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:1123)
at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:237)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:317)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:83)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Container exited with a non-zero exit code 2
Failing this attempt. Failing the application.

Screenshots

87e8f0b621c55fbae9c86ff7b9e2e78

85c07daba787dbb9b622e0f571bf501

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

COBHzhangfei avatar Jul 20 '22 08:07 COBHzhangfei

i will fix this bug

wolfboys avatar Sep 25 '22 23:09 wolfboys