Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.0
-
None
-
None
Description
public synchronized void stop() throws Exception{ if (status == Status.NOT_STARTED) { return; } LOGGER.info("Attempting to stop..."); if (thriftServer.isServing()) { thriftServer.stop(); // XXX If got exception here, the code after it will never be executed. } thriftServer = null; stopSentryWebServer(); status = Status.NOT_STARTED; LOGGER.info("Stopped..."); }
if thriftServer got an exception when do stop, the method stopSentryWebServer() will be passed
Attachments
Attachments
Issue Links
- links to