Sreeja created HDDS-15890:
-----------------------------

             Summary: Add iteration progress and in-between iteration state to 
status command
                 Key: HDDS-15890
                 URL: https://issues.apache.org/jira/browse/HDDS-15890
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Sreeja
            Assignee: Sreeja


*ozone admin containerbalancer status* (without flags) returns only 
"ContainerBalancer is Running".

It does not show which iteration is active, how many containers or bytes have 
been moved, or whether the balancer is actively moving containers or waiting 
between iterations.

When the balancer is running but sleeping between iterations, status --verbose 
shows "Current iteration info: -", which makes it look idle or stuck.

Proposed change:

Improve the status command to show balancer progress in the default output, for 
example:
{code:java}
ContainerBalancer is Running. Iteration 3/10 | Moved: 32/45 containers, 28/48 
GB{code}
Also expose in-between iteration state so users can tell when the balancer is 
waiting for the next iteration and how long it has been waiting.



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