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

ASF GitHub Bot updated HDDS-2629:
---------------------------------
    Labels: pull-request-available  (was: )

> Ozone CLI: CreationTime/modifyTime of volume/bucket/key info are not formatted
> ------------------------------------------------------------------------------
>
>                 Key: HDDS-2629
>                 URL: https://issues.apache.org/jira/browse/HDDS-2629
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>            Priority: Major
>              Labels: pull-request-available
>
> There is a regression from HDDS-738, where the time stamp formatting was lost 
> during the json output. (Detail can be found from the removed methods from 
> OzoneClientUtils#asVolumeInfo, asBucketInfo, asKeyInfo). As a result, only 
> raw time is output in the json output for volume/bucket/key info. 
> {code:java}
> bash-4.2$ ozone sh vol create /vol1
> obash-4.2$ ozone sh vol info /vol1
> {
>  "metadata" : { },
>  "name" : "vol1",
>  "admin" : "hadoop",
>  "owner" : "hadoop",
>  "creationTime" : 1574836577298,
>  "acls" : [ {
>  "type" : "USER",
>  "name" : "hadoop",
>  "aclScope" : "ACCESS",
>  "aclList" : [ "ALL" ]
>  }, {
>  "type" : "GROUP",
>  "name" : "users",
>  "aclScope" : "ACCESS",
>  "aclList" : [ "ALL" ]
>  } ],
>  "quota" : 1152921504606846976
> }{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to