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:
[email protected]


With regards,
Apache Git Services

Reply via email to