Hải Nguyễn
03/05/2024, 10:22 AM2024-03-05 02:03:48,705 WARN org.apache.flink.shaded.zookeeper3.org.apache.zookeeper.ClientCnxn [] - Client session timed out, have not heard from server in 26668ms for session id 0x3014129ffea0001
2024-03-05 02:03:48,706 WARN org.apache.flink.shaded.zookeeper3.org.apache.zookeeper.ClientCnxn [] - Session 0x3014129ffea0001 for server dc2-bigdatatst02/10.6.70.91:2181, Closing socket connection. Attempting reconnect except it is a SessionExpiredException.
org.apache.flink.shaded.zookeeper3.org.apache.zookeeper.ClientCnxn$SessionTimeoutException: Client session timed out, have not heard from server in 26668ms for session id 0x3014129ffea0001
at org.apache.flink.shaded.zookeeper3.org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1251) [flink-dist-1.18.0.jar:1.18.0]
2024-03-05 02:03:48,807 INFO org.apache.flink.shaded.curator5.org.apache.curator.framework.state.ConnectionStateManager [] - State change: SUSPENDED
2024-03-05 02:03:48,808 WARN org.apache.flink.runtime.leaderretrieval.ZooKeeperLeaderRetrievalDriver [] - Connection to ZooKeeper suspended, waiting for reconnection.
2024-03-05 02:03:48,918 WARN org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionDriver [] - Connection to ZooKeeper suspended, waiting for reconnection.
2024-03-05 02:03:48,918 WARN org.apache.flink.runtime.jobmanager.ZooKeeperJobGraphStoreWatcher [] - ZooKeeper connection SUSPENDING. Changes to the submitted job graphs are not monitored (temporarily).
2024-03-05 02:03:48,919 WARN org.apache.flink.runtime.leaderretrieval.ZooKeeperLeaderRetrievalDriver [] - Connection to ZooKeeper suspended, waiting for reconnection.
2024-03-05 02:03:48,919 WARN org.apache.flink.runtime.leaderretrieval.ZooKeeperLeaderRetrievalDriver [] - Connection to ZooKeeper suspended, waiting for reconnection.
2024-03-05 02:03:48,920 INFO org.apache.flink.runtime.resourcemanager.ResourceManagerServiceImpl [] - Resource manager service is revoked leadership with session id 8a2c7700-9099-42f9-b5ff-495454131445.
2024-03-05 02:03:48,920 INFO org.apache.flink.runtime.jobmaster.JobMasterServiceLeadershipRunner [] - JobMasterServiceLeadershipRunner for job 2a8c6db6b5c80a96ac594bc7c92d1323 was revised leadership with leader id 8a2c7700-9099-42f9-b5 ff-495454131445. Stopping current JobMasterServiceProcess.
2024-03-05 02:03:48,920 INFO org.apache.flink.runtime.security.token.DefaultDelegationTokenManager [] - Stopping credential renewal
2024-03-05 02:03:48,920 INFO org.apache.flink.runtime.security.token.DefaultDelegationTokenManager [] - Stopped credential renewal
2024-03-05 02:03:48,920 INFO org.apache.flink.runtime.resourcemanager.slotmanager.FineGrainedSlotManager [] - Closing the slot manager.
2024-03-05 02:03:48,920 INFO org.apache.flink.runtime.dispatcher.DispatcherRestEndpoint [] - http://localhost:8081 lost leadership
2024-03-05 02:03:48,920 INFO org.apache.flink.runtime.jobmaster.JobMaster [] - Stopping the JobMaster for job 'AGG_ACCT_STATEMENT_FT' (2a8c6db6b5c80a96ac594bc7c92d1323).
2024-03-05 02:03:48,920 INFO org.apache.flink.runtime.dispatcher.runner.DefaultDispatcherRunner [] - DefaultDispatcherRunner was revoked the leadership with leader id 8a2c7700-9099-42f9-b5ff-495454131445. Stopping the DispatcherLeaderProcess.
2024-03-05 02:03:48,920 INFO org.apache.flink.runtime.resourcemanager.slotmanager.FineGrainedSlotManager [] - Suspending the slot manager.
2024-03-05 02:03:48,921 INFO org.apache.flink.runtime.leaderretrieval.DefaultLeaderRetrievalService [] - Stopping DefaultLeaderRetrievalService.
2024-03-05 02:03:48,921 INFO org.apache.flink.runtime.dispatcher.runner.SessionDispatcherLeaderProcess [] - Stopping SessionDispatcherLeaderProcess.
2024-03-05 02:03:48,923 INFO org.apache.flink.runtime.executiongraph.ExecutionGraph [] - Job AGG_ACCT_STATEMENT_FT (2a8c6db6b5c80a96ac594bc7c92d1323) switched from state RUNNING to SUSPENDED.
After the flink cluster shutdown error, when I restarted the cluster, the auto-RUNNING jobs came back. Can anyone explain and how to fix this situation?