rmetzger opened a new pull request #14062:
URL: https://github.com/apache/flink/pull/14062


   ## What is the purpose of the change
   
   There are situations where Flink's `JvmShutdownSafeguard` is unable to halt 
the JVM (if the JVM get's stuck during shutdown)
   
   
   ## Brief change log
   
   - The `flink-daemon.sh` will issue a SIGTERM, then wait for 10 seconds for 
the process to stop. If that is not successful, the script will issue SIGKILL.
   
   ## Verifying this change
   
   I tested the change locally by blocking a shutdown hook and extending the 
JvmShutdownSafeguard delay to 15 seconds on Linux and Mac.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to