mirror of
https://github.com/apache/nifi.git
synced 2025-03-08 18:39:31 +00:00
NIFI-215: Shut down the ProcessScheduler that is used for Reporting Tasks when NCM is stopped
This commit is contained in:
parent
a183d88f28
commit
d879e0d640
@ -512,6 +512,10 @@ public class WebClusterManager implements HttpClusterManager, ProtocolHandler, C
|
||||
servicesBroadcaster.stop();
|
||||
}
|
||||
|
||||
if ( processScheduler != null ) {
|
||||
processScheduler.shutdown();
|
||||
}
|
||||
|
||||
if (encounteredException) {
|
||||
throw new IOException("Failed to shutdown Cluster Manager because one or more cluster services failed to shutdown. Check the logs for details.");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user