mirror of
https://github.com/apache/druid.git
synced 2025-02-15 14:34:57 +00:00
Merge pull request #1627 from metamx/fix-realtime-tasks
explicitly call lifecycle stop
This commit is contained in:
commit
8d6fe021e3
@ -223,6 +223,8 @@ public class CliPeon extends GuiceRunnable
|
||||
)
|
||||
);
|
||||
injector.getInstance(ExecutorLifecycle.class).join();
|
||||
// Explicitly call lifecycle stop, dont rely on shutdown hook.
|
||||
lifecycle.stop();
|
||||
}
|
||||
catch (Throwable t) {
|
||||
log.error(t, "Error when starting up. Failing.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user