siddhantsangwan opened a new pull request #2578: URL: https://github.com/apache/ozone/pull/2578
## What changes were proposed in this pull request? ContainerBalancer#stop interrupts the balancing thread before letting it join: ``` balancerRunning = false; currentBalancingThread.interrupt(); currentBalancingThread.join(1000); ``` This causes: > [ContainerBalancer] WARN balancer.ContainerBalancer (ContainerBalancer.java:stop(731)) - Interrupted while waiting for balancing thread to join. > [ContainerBalancer] INFO balancer.ContainerBalancer (ContainerBalancer.java:stop(736)) - Container Balancer stopped successfully. ContainerBalancer should instead let the balancing thread join before calling interrupt. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-5671 ## How was this patch tested? TestContainerBalancer UT. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
