You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by GitBox <gi...@apache.org> on 2019/03/12 11:43:13 UTC

[GitHub] [storm] srdo opened a new pull request #2974: STORM-3355: Use supervisor.worker.shutdown.sleep.secs to set worker s…

srdo opened a new pull request #2974: STORM-3355: Use supervisor.worker.shutdown.sleep.secs to set worker s…
URL: https://github.com/apache/storm/pull/2974
 
 
   …uicide delay to allow users to configure how long they're willing to wait for orderly shutdown
   
   https://issues.apache.org/jira/browse/STORM-3355
   
   This will not be useful on Windows, as there is no easy way that I can see for shutting down JVMs cleanly. I dug around for a while and it looks like the JVM devs also haven't found a reasonable way to do orderly shutdowns on Windows https://bugs.openjdk.java.net/browse/JDK-8056139. We can probably be excused for not doing better.
   
   On Linux it works as expected. Tested by running ExclamationTopology with a `cleanup` that sleeps for 15 seconds, and setting the timeout parameter to 30 seconds. The worker was allowed to shut down cleanly.

----------------------------------------------------------------
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


With regards,
Apache Git Services