[ 
https://issues.apache.org/jira/browse/HDDS-9798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17819192#comment-17819192
 ] 

Sarveksha Yeshavantha Raju commented on HDDS-9798:
--------------------------------------------------

This issue has already been fixed. 
The "{_}ozone admin container info <containerID> [--json]{_} " displays info if 
the container is present and throws an error stating "{_}Unable to retrieve the 
container details for <containerID>{_}" if it is not present.

!Screenshot 2024-02-21 at 4.49.40 PM.png|width=553,height=224!

> ozone admin container info displays incorrect result for unknown container
> --------------------------------------------------------------------------
>
>                 Key: HDDS-9798
>                 URL: https://issues.apache.org/jira/browse/HDDS-9798
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Ethan Rose
>            Assignee: Sarveksha Yeshavantha Raju
>            Priority: Major
>              Labels: newbie
>         Attachments: Screenshot 2024-02-21 at 4.49.40 PM.png
>
>
> {{ozone admin container info [--json]}} displays {{ID #<container-id>}} when 
> a container cannot be found in the system. This may also happen if the 
> container is in deleting/deleted state but I have not tested that. The 
> command should instead display an error that the container was not found. 
> Reproed on commit 2ed9f44cc87ec848a5bb5bfa5ed87b14aa784fdf



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