arp7 commented on a change in pull request #714: HDDS-1406. Avoid usage of 
commonPool in RatisPipelineUtils.
URL: https://github.com/apache/hadoop/pull/714#discussion_r278372274
 
 

 ##########
 File path: 
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java
 ##########
 @@ -1010,6 +1011,9 @@ public void stop() {
     } catch (Exception ex) {
       LOG.error("SCM Metadata store stop failed", ex);
     }
+
+    // shutdown RatisPipelineUtils pool.
+    RatisPipelineUtils.POOL.shutdown();
 
 Review comment:
   shutdown will wait for previously submitted tasks to complete. You can 
probably call shutdownNow since we don't care about the completion on shutdown.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to