GitHub user HeartSaVioR opened a pull request: https://github.com/apache/storm/pull/2482
STORM-2870 Properly shutdown ExecutorService in FileBasedEventLogger * extract local variable 'scheduler' to one of fields * gracefully shutdown the scheduler I followed the guide of Javadoc for implementing `closeFlushScheduler()` properly. https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html You can merge this pull request into a Git repository by running: $ git pull https://github.com/HeartSaVioR/storm STORM-2870 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/storm/pull/2482.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2482 ---- commit 1d0621d82140ef58a9644f2750b7944b7a26fab9 Author: Jungtaek Lim <kabhwan@...> Date: 2017-12-27T02:52:19Z STORM-2870 Properly shutdown ExecutorService in FileBasedEventLogger * extract local variable 'scheduler' to one of fields * gracefully shutdown the scheduler ---- ---