You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arun Sarin (Jira)" <ji...@apache.org> on 2024/04/04 05:09:00 UTC

[jira] [Created] (HDDS-10642) ozone admin container report doesn't return error message but a default payload in case of errors

Arun Sarin created HDDS-10642:
---------------------------------

             Summary: ozone admin container report doesn't return error message but a default payload in case of errors
                 Key: HDDS-10642
                 URL: https://issues.apache.org/jira/browse/HDDS-10642
             Project: Apache Ozone
          Issue Type: Bug
          Components: Ozone CLI
            Reporter: Arun Sarin


ozone admin container report doesn't return error message but a default payload in case of errors

Response 
{code:java}
[root@<hostname> ~]# ozone admin container report
Container Summary Report generated at 1970-01-01T00:00:00Z
==========================================================


Container State Summary
=======================
OPEN: 0
CLOSING: 0
QUASI_CLOSED: 0
CLOSED: 0
DELETING: 0
DELETED: 0
RECOVERING: 0


Container Health Summary
========================
UNDER_REPLICATED: 0
MIS_REPLICATED: 0
OVER_REPLICATED: 0
MISSING: 0
UNHEALTHY: 0
EMPTY: 0
OPEN_UNHEALTHY: 0
QUASI_CLOSED_STUCK: 0


[root@<hostname> ~]# 
[root@<hostname> ~]# ozone admin container report
Container Summary Report generated at 2024-04-04T04:25:05Z
==========================================================


Container State Summary
=======================
OPEN: 8
CLOSING: 0
QUASI_CLOSED: 0
CLOSED: 18
DELETING: 0
DELETED: 28
RECOVERING: 0


Container Health Summary
========================
UNDER_REPLICATED: 0
MIS_REPLICATED: 0
OVER_REPLICATED: 0
MISSING: 0
UNHEALTHY: 0
EMPTY: 1
OPEN_UNHEALTHY: 0
QUASI_CLOSED_STUCK: 0


First 100 EMPTY containers:
#2006 {code}
Here the first response was when all the DN's roles were stopped.

 

Here there are 2 options:
 # Default payload and no error message was returned
 # Container report should be returned, SCM was up only few of the DN roles were stopped.



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