How to fix Flink status?

  • KM03756418
  • 30-Oct-2020
  • 30-Oct-2020

This document has not been formally reviewed for accuracy and is provided "as is" for your convenience.

Summary

Flink process is in restarting state

Fix

1.First thing to do, delete the flink.hprof files located in $PMDB_HOME/log,

if there are any.

 

2. Stop the following services located in /etc/init.d directory:

 

HPE_PMDB_Platform_Orchestration

HPE_PMDB_Platform_Jobmanager

HPE_PMDB_Platform_Taskmanager

 

3. Make sure no other processes are running with below command:

 

ps -ef | grep -i flink

 

-      If there is any, kill it:

 

kiil -9 PID

 

4. Perform the following actions to restart Flink:

 

-       Clean up the content of the folder: $PMDB_HOME/data/etl_state/checkpoint

-       Clean up the content of the folder: $PMDB_HOME/data/etl_state/savepoint

-       Delete all the files in $PMDB_HOME/collect/temp/lock

-       Delete the folders only with “flink-io” pattern from $PMDB_HOME/temp dir

 

5. Restart the services in below order:

 

HPE_PMDB_Platform_Orchestration

HPE_PMDB_Platform_Jobmanager

HPE_PMDB_Platform_Taskmanager

 

6. Wait for around 5 mins and check whether flink is properly running with the command - $PMDB_HOME/../Flink/bin/flink list