Gargi-jais11 opened a new pull request, #8932: URL: https://github.com/apache/ozone/pull/8932
## What changes were proposed in this pull request? Since we have container balancer now, disk balancer should be added. DiskBalancer is a feature in Apache Ozone that ensures even data distribution across disks within a Datanode. **Key Components :** 1. **Core Service (DiskBalancerService) :** - Background service running on each DataNode for local disk balancing - Calculates Volume Data Density using **|VolumeUtilization - AverageUtilization|** formula - Moves containers from over-utilized to under-utilized disks within the same node - Configurable threshold, bandwidth, and parallel thread settings 2. **Policy Framework :** - **DefaultVolumeChoosingPolicy**: Selects source/destination volume pairs for balancing - **DefaultContainerChoosingPolicy**: Chooses suitable containers for movement with caching optimization. 3. **SCM Coordination (DiskBalancerManager) :** - Centralized administrative control (start/stop/configure operations) - Cluster-wide monitoring and status reporting - Node state coordination (pause during maintenance/decommission) 4. **CLI Interface :** - ozone admin datanode diskbalancer commands for operational management - Support for querying status, updating configurations, and controlling operations ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-5713 ## How was this patch tested? Added new **Unit Tests**, **Integration Tests**, **Performance Tests** and **Acceptance Tests**. -- 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]
