Sreeja created HDDS-16180:
-----------------------------

             Summary: Add container balancer dry-run CLI for time and iteration 
estimates
                 Key: HDDS-16180
                 URL: https://issues.apache.org/jira/browse/HDDS-16180
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Sreeja
            Assignee: Sreeja


Add ozone admin containerbalancer dry-run command which fetches datanode usage 
info via the existing getDatanodeUsageInfo RPC. It should use the cluster 
summary computed by the analyzer(HDDS-16173) to help in computing the estimates.
Default behaviour: show estimates for all three profiles (slow, medium, fast). 
With default values for configs i.e timeouts, balancing interval, threshold, 
include/exclude nodes. 

When the user provides the --profile or --bandwidth explicitly then the command 
should show the estimates for that particular profile only.
If the user overrides any config (i.e timeouts, balancing interval, threshold, 
include/exclude nodes) then the command should respect that to compute the 
estimates.

Output example:

 
{panel}


Bytes to move:            420 TB

 Per iteration:            ~4 TB

 Cycle time:               ~130 min (planning + move + interval)

 Estimated iterations:     105 effective (137 with buffer)

 Estimated duration:       ~9.5 days
{panel}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to