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

Rishabh Patel commented on HDDS-3664:
-------------------------------------

Is this issue still valid? Are we looking for something beyond the information 
returned by the container info command?
{code:java}
ozone admin container info 6023
Container id: 6023
Pipeline id: 27d987ae-d6e6-49a2-b87e-b54736f9f197
Container State: CLOSED
Datanodes: 
[8dc375fe-a209-4849-9535-4040dd2f17c8/ccycloud-10.rpatel-orphanblocks.root.comops.site,
90b9cce9-8b61-4a7a-9a61-01cb0a9657fd/ccycloud-7.rpatel-orphanblocks.root.comops.site,
5badbc4c-86d5-42d1-bfad-183638db4dbd/ccycloud-9.rpatel-orphanblocks.root.comops.site]
Replicas: [State: CLOSED; ReplicaIndex: 0; Origin: 
8dc375fe-a209-4849-9535-4040dd2f17c8; Location: 
8dc375fe-a209-4849-9535-4040dd2f17c8/ccycloud-10.rpatel-orphanblocks.root.comops.site,
State: CLOSED; ReplicaIndex: 0; Origin: 90b9cce9-8b61-4a7a-9a61-01cb0a9657fd; 
Location: 
90b9cce9-8b61-4a7a-9a61-01cb0a9657fd/ccycloud-7.rpatel-orphanblocks.root.comops.site,
State: CLOSED; ReplicaIndex: 0; Origin: 5badbc4c-86d5-42d1-bfad-183638db4dbd; 
Location: 
5badbc4c-86d5-42d1-bfad-183638db4dbd/ccycloud-9.rpatel-orphanblocks.root.comops.site]
 {code}
 

> Info command should display the key locations
> ---------------------------------------------
>
>                 Key: HDDS-3664
>                 URL: https://issues.apache.org/jira/browse/HDDS-3664
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone CLI, Ozone Manager
>            Reporter: Baolong Mao
>            Assignee: Tejaswini Vakkalagaddi
>            Priority: Major
>              Labels: newbie
>
>  bin/ozone sh key info /myvol/mybucket/NOTICE3.txt                
> {
>   "volumeName" : "myvol",
>   "bucketName" : "mybucket",
>   "name" : "NOTICE3.txt",
>   "dataSize" : 17540,
>   "creationTime" : "2020-05-26T11:49:13.274Z",
>   "modificationTime" : "2020-05-26T11:49:15.560Z",
>   "replicationType" : "RATIS",
>   "replicationFactor" : 3,
>   "ozoneKeyLocations" : [ {
>     "containerID" : 1,
>     "localID" : 104234598612860928,
>     "length" : 17540,
>     "offset" : 0
>   } ],
>   "metadata" : { },
>   "fileEncryptionInfo" : null
> }
> Through the above response, we just know the containerID, but we want to know 
> the container 3 in which pipeline, and the pipeline info.
> Although we can use "ozone admin container list <ContainerId>" and "ozone 
> admin pipeline list <pipelineID>" instead when the pipeline is open, but for 
> the closed pipeline, we don't know the replication information.



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