You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/03/12 01:20:18 UTC

[GitHub] [incubator-dolphinscheduler] chengshiwen commented on issue #5037: [Bug][Server] Both the master and the worker is hanging after restarting and stopping

chengshiwen commented on issue #5037:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/5037#issuecomment-797166027


   The reason of this issue is that:
   
   1. `System.exit()` will trigger JVM `ShutdownHook`, and wait for all `ShutdownHook` to end
   2. `ShutdownHook` call `close` method which call `System.exit()`
   3. Infinite loop occurs


----------------------------------------------------------------
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:
users@infra.apache.org