hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12365) Ozone: ListVolume displays incorrect createdOn time when the volume was created by OzoneRpcClient
Date Mon, 28 Aug 2017 08:17:00 GMT

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

Weiwei Yang updated HDFS-12365:
-------------------------------
    Status: Patch Available  (was: Open)

> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message