[ https://issues.apache.org/jira/browse/HDFS-12365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16144093#comment-16144093 ]
Chen Liang commented on HDFS-12365: ----------------------------------- Thanks [~cheersyang] for the catch! The v001 patch LGTM, I've committed to the feature branch. > Ozone: ListVolume displays incorrect createdOn time when the volume was > created by OzoneRpcClient > ------------------------------------------------------------------------------------------------- > > Key: HDFS-12365 > URL: https://issues.apache.org/jira/browse/HDFS-12365 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone > Affects Versions: HDFS-7240 > Reporter: Weiwei Yang > Assignee: Weiwei Yang > Attachments: HDFS-12365-HDFS-7240.001.patch > > > Reproduce steps > 1. Create a key in ozone with corona (this delegates the call to > OzoneRpcClient), e.g > {code} > [wwei@ozone1 hadoop-3.0.0-beta1-SNAPSHOT]$ ./bin/hdfs corona -numOfThreads 1 > -numOfVolumes 1 -numOfBuckets 1 -numOfKeys 1 > {code} > 2. Run listVolume > {code} > [wwei@ozone1 hadoop-3.0.0-beta1-SNAPSHOT]$ ./bin/hdfs oz -listVolume > http://localhost:9864 -user wwei > { > "owner" : { > "name" : "wwei" > }, > "quota" : { > "unit" : "TB", > "size" : 1048576 > }, > "volumeName" : "vol-0-31437", > "createdOn" : "Thu, 01 Jan 1970 00:00:00 GMT", > "createdBy" : null > } > { > "owner" : { > "name" : "wwei" > }, > "quota" : { > "unit" : "TB", > "size" : 1048576 > }, > "volumeName" : "vol-0-38900", > "createdOn" : "Thu, 01 Jan 1970 00:00:00 GMT", > "createdBy" : null > } > {code} > Note, the time displayed in {{createdOn}} are both incorrect {{Thu, 01 Jan > 1970 00:00:00 GMT}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org