Description
Reproduce steps
1. Create a key in ozone with corona (this delegates the call to OzoneRpcClient), e.g
[wwei@ozone1 hadoop-3.0.0-beta1-SNAPSHOT]$ ./bin/hdfs corona -numOfThreads 1 -numOfVolumes 1 -numOfBuckets 1 -numOfKeys 1
2. Run listVolume
[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 }
Note, the time displayed in createdOn are both incorrect Thu, 01 Jan 1970 00:00:00 GMT.