You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sarveksha Yeshavantha Raju (Jira)" <ji...@apache.org> on 2026/03/20 07:33:00 UTC

[jira] [Created] (HDDS-14867) Add support to list containers based on ContainerHealthState

Sarveksha Yeshavantha Raju created HDDS-14867:
-------------------------------------------------

             Summary: Add support to list containers based on ContainerHealthState
                 Key: HDDS-14867
                 URL: https://issues.apache.org/jira/browse/HDDS-14867
             Project: Apache Ozone
          Issue Type: Improvement
          Components: Ozone CLI
            Reporter: Sarveksha Yeshavantha Raju
            Assignee: Sarveksha Yeshavantha Raju


Prior to HDDS-14119, container health tracking relied on the {{{}ReplicationManagerReport{}}}. When containers are in one of the health states, a list of up to sampleLimit container IDs are recorded in the report for each of the states. Consequently, the {{ozone admin container report}} command prints the RM report.

While {{ReplicationManager}} now tracks the specific health state on every {{ContainerInfo}} object in-memory, there is currently no CLI command to query the entire set of containers filtered by these specific health conditions. The existing {{list}} command is limited to basic filters like state (OPEN/CLOSED) or replication type.

This patch proposes enhancing the {{ozone admin container list}} command by adding a new {{--health-state}} filter.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org