[ 
https://issues.apache.org/jira/browse/HDDS-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

maobaolong reassigned HDDS-3664:
--------------------------------

    Assignee:     (was: maobaolong)

> Info command should display the key locations
> ---------------------------------------------
>
>                 Key: HDDS-3664
>                 URL: https://issues.apache.org/jira/browse/HDDS-3664
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: om, Ozone CLI, Ozone Manager
>            Reporter: maobaolong
>            Priority: Major
>
>  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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to