You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Anu Engineer (Jira)" <ji...@apache.org> on 2019/12/05 18:01:40 UTC
[jira] [Resolved] (HDDS-2629) Ozone CLI: CreationTime/modifyTime of
volume/bucket/key info are not formatted
[ https://issues.apache.org/jira/browse/HDDS-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anu Engineer resolved HDDS-2629.
--------------------------------
Fix Version/s: 0.5.0
Resolution: Fixed
Committed to the master branch. thx
> 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
> Fix For: 0.5.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org