[
https://issues.apache.org/jira/browse/HDDS-7248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17616916#comment-17616916
]
Zita Dombi commented on HDDS-7248:
----------------------------------
To make this Jira more detailed:
# Currently we don't have any dedicated page for containers (we can add one,
eg. /Containers), that we can access if we click on Containers card on the
Overview page or if we click on the menu (on the left) where we can add one
line for Containers (after Pipelines and before Insights).
# On that page we can have multiple tabs, one for each state, like we had it
[here|https://github.com/apache/ozone/pull/3753] (currently we are tracking
{{{}UNDER_REPLICATED{}}}, {{{}OVER_REPLICATED{}}}, {{MIS_REPLICATED}} and
{{{}MISSING{}}}, so we want to have a tab for these states). On each tab we can
have a similar page like we have one for {{MISSING}} containers already. The
functionality can be copied from the /MissingContainers page to each tab. Also
we can remove the /MissingContainers endpoint, if we add one like /Containers
with a {{MISSING}} tab.
Let me know if you have any questions [[email protected]]. The
endpoints are working (eg.
[/containers/unhealthy/UNDER_REPLICATED|http://localhost:9888/api/v1/containers/unhealthy/UNDER_REPLICATED]),
so the backend part here is done. The
[/containers/unhealthy/ALL_REPLICAS_UNHEALTHY|http://localhost:9888/api/v1/containers/unhealthy/ALL_REPLICAS_UNHEALTHY]
is also there, but the data is not populated yet from the Recon, so with that
you don't need to do anything, that will be done in another Jira later.
cc [~smeng]
> Recon: Expand the container status page to show all unhealthy container states
> ------------------------------------------------------------------------------
>
> Key: HDDS-7248
> URL: https://issues.apache.org/jira/browse/HDDS-7248
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Siyao Meng
> Assignee: smita
> Priority: Major
>
> We should add {{UNDER_REPLICATED}}, {{OVER_REPLICATED}}, {{MIS_REPLICATED}}
> containers to the Recon Web UI the same way as missing containers are
> displayed nowadays in Recon. The data is already being collected and stored
> in Recon (see the comment link below). The bankend API might need to be
> slightly modified, or just copy and paste the existing missing container API
> and change slightly.
> We could display them on the same page, with a filter to filter the unhealthy
> container states.
> {code}
> /**
> * ENUM describing the allowed container states which can be stored in the
> * unhealthy containers table.
> */
> public enum UnHealthyContainerStates {
> MISSING,
> UNDER_REPLICATED,
> OVER_REPLICATED,
> MIS_REPLICATED,
> ALL_REPLICAS_UNHEALTHY
> }
> {code}
> See [this
> comment|https://issues.apache.org/jira/browse/HDDS-7098?focusedCommentId=17607988&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17607988]
> for the context.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]