Hi everyone, I’m deploying a Flink job on Kuberne...
# troubleshooting
v
Hi everyone, I’m deploying a Flink job on Kubernetes with Flink operator and FlinkDeployment CRD (application mode). The job is bounded and completed successfully. I see a
Application completed SUCCESSFULLY
log as well at the FlinkDeployment status goes to FINISHED, state STABLE. The task manager pod also terminated at this point. However, the job manager pod is still running and looping the following error infinitely.
Copy code
ERROR org.apache.flink.runtime.rest.handler.job.checkpoints.CheckpointingStatisticsHandler [] - Exception occurred in REST handler: Job c1b2c7777b8ed97b126feea10a7a7790 not found
A quick Google search points out that maybe the UI is opened, but I don’t have it opened anywhere. The only thing running is the job manager and the operator. I expect when the job finishes successfully, the whole cluster will be terminated. It seems to me that the weird error above blocks it. Can anyone shed some light on this issue please? Thanks
Copy code
StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
var s = env.fromElements(1);
s.addSink(new DiscardingSink<>());
Actions.forTable(table).rewriteDataFiles().execute();
env.execute();
This is my main method
d
Hi @Vu-Hoang Phan that would be this issue I think https://www.mail-archive.com/user@flink.apache.org/msg52123.html and you can check also https://issues.apache.org/jira/browse/FLINK-33872 Please indicate the exact version of Flink you are using.
👀 1
v
Thanks. I’m using Flink 1.17. It might indeed is the issue, I will try on Flink 1.18 then. I also figured that it might even be the Flink operator. Because when I stop the operator, the errors stop appearing.
d
Ok, I see there is a notice in #announcements that its recommended to upgrade to 1.18.1
👍 1