yangkun created FLUME-3332:
------------------------------
Summary: MintorService.stop() method called twice when flume is
stop
Key: FLUME-3332
URL: https://issues.apache.org/jira/browse/FLUME-3332
Project: Flume
Issue Type: Bug
Components: Node
Reporter: yangkun
when flume stop, the MintorService.stop() method called twice, the code is
following:
{code:java}
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();
}
}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]