mukul1987 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_r287966724
##########
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:
Thanks for the review Ajay, I didnot understand this comment completely. Can
you please elaborate. ?
----------------------------------------------------------------
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]