[ 
https://issues.apache.org/jira/browse/HDDS-12653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sreeja updated HDDS-12653:
--------------------------
    Description: 
This ozone debug CLI command lists all the containers which are either 
UNDER-REPLICATED , OVER-REPLICATED , UNHEALTHY or QUASI_CLOSED stuck.

the command provides the Container ID and count of replicas.

the command is as follows:
{code:java}
ozone debug log container --db=<path to db> list --health=<type>  
[--length=<n>] [–all]{code}

  was:
This ozone debug CLI command lists all the container replicas of the container 
which is either UNDER-REPLICATED , OVER-REPLICATED , UNHEALTHY or QUASI_CLOSED 
stuck.

the command provides key details such as:
 * Datanode ID 
 * container ID
 * BCSID
 * state
 * timestamp

the command is as follows:
{code:java}
ozone debug log container --db=<path to db> list-health --issue=<type> 
[--length=<n>] [–all]{code}


> Create an ozone debug CLI command to list containers based on Health State
> --------------------------------------------------------------------------
>
>                 Key: HDDS-12653
>                 URL: https://issues.apache.org/jira/browse/HDDS-12653
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Sreeja
>            Assignee: Sreeja
>            Priority: Major
>              Labels: pull-request-available
>
> This ozone debug CLI command lists all the containers which are either 
> UNDER-REPLICATED , OVER-REPLICATED , UNHEALTHY or QUASI_CLOSED stuck.
> the command provides the Container ID and count of replicas.
> the command is as follows:
> {code:java}
> ozone debug log container --db=<path to db> list --health=<type>  
> [--length=<n>] [–all]{code}



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