Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
when flume stop, the MintorService.stop() method called twice, the code is following:
public void stop() { lifecycleLock.lock(); // stopAllComponents() method will call monitorServer.stop() stopAllComponents(); try { supervisor.stop(); if (monitorServer != null) { // second call monitorServer.stop(); } } finally { lifecycleLock.unlock(); } } private void stopAllComponents() { if (this.materializedConfiguration != null) { } if (monitorServer != null) { // first call monitorServer.stop(); } }