Gargi-jais11 opened a new pull request, #8056:
URL: https://github.com/apache/ozone/pull/8056

   ## What changes were proposed in this pull request?
   It will be an estimation value, due to there are other activities going on, 
such as block deletion, new container creation, container replica deletion, new 
data ingestion.
   
   This value will be an indicator for roughly how much time are still needed 
for the disk usage to become even.
   
   Should Include this value in status report too.
   
   The estimated time pending before disk usage become even is given for the 
happy path in status report.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-12437
   
   ## How was this patch tested?
   
   Tested it manually by running locally on docker-cluster.
   
   ```
   bash-5.1$ ozone admin datanode diskbalancer status
   Status result:
   Datanode                            VolumeDensity             Status         
 Threshold(%)    BandwidthInMB   Threads      SuccessMove  FailureMove  
EstTimeLeft(min)
   ozone-datanode-1.ozone_default      0.003902037805517785      RUNNING        
 0.0002          10              5            2            0            3.15    
    
   ozone-datanode-2.ozone_default      0.007848049520676807      RUNNING        
 0.0002          10              5            0            0            6.74    
    
   ```
   
   ```
   bash-5.1$ ozone admin datanode diskbalancer status
   Status result:
   Datanode                            VolumeDensity             Status         
 Threshold(%)    BandwidthInMB   Threads      SuccessMove  FailureMove  
EstTimeLeft(min)
   ozone-datanode-1.ozone_default      0.001011399921748393      RUNNING        
 0.0002          10              5            5            0            0.87    
    
   ozone-datanode-2.ozone_default      0.001638674809277773      RUNNING        
 0.0002          10              5            5            0            1.40
   ```
   


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

Reply via email to