ajayydv commented on a change in pull request #829: HDDS-1550. MiniOzoneCluster 
is not shutting down all the threads during shutdown. Contributed by Mukul 
Kumar Singh.
URL: https://github.com/apache/hadoop/pull/829#discussion_r286202070
 
 

 ##########
 File path: 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/MiniOzoneClusterImpl.java
 ##########
 @@ -340,19 +340,20 @@ public void stop() {
       ozoneManager.join();
     }
 
+    if (!hddsDatanodes.isEmpty()) {
+      LOG.info("Shutting the HddsDatanodes");
+      hddsDatanodes.parallelStream()
+          .forEach(dn -> {
+            dn.stop();
 
 Review comment:
   shall we wrap them in try catch to cleanup all of them silently.

----------------------------------------------------------------
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