Xiaoyu Yao created HDDS-2629:
--------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]