[ https://issues.apache.org/jira/browse/HDDS-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16475383#comment-16475383 ]
Lokesh Jain edited comment on HDDS-66 at 5/15/18 8:50 AM: ---------------------------------------------------------- OzoneShell implementation now uses RestClient and RpcClient. The listVolume now does not miss any fields. {code:java} { "owner" : { "name" : "test-user-a" }, "quota" : { "unit" : "TB", "size" : 100 }, "volumeName" : "test-vol2", "createdOn" : "Tue, 15 May 2018 07:02:57 GMT", "createdBy" : "test-user-a" }{code} Since we use ozone.client.OzoneVolume fields like bytesUsed and bucketCount are not present in the output. was (Author: ljain): OzoneShell implementation now uses RestClient and RpcClient. The listVolume now does not miss any fields. {code:java} { "owner" : { "name" : "test-user-a" }, "quota" : { "unit" : "TB", "size" : 100 }, "volumeName" : "test-vol2", "createdOn" : "Tue, 15 May 2018 07:02:57 GMT", "createdBy" : "test-user-a" }{code} Since we use ozone.client.OzoneBucket fields like bytesUsed and bucketCount are not present in the output. > ListVolume output misses some attributes > ---------------------------------------- > > Key: HDDS-66 > URL: https://issues.apache.org/jira/browse/HDDS-66 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: SCM > Reporter: Weiwei Yang > Assignee: Lokesh Jain > Priority: Major > > When do a listVolume call, we get output like following > {noformat} > [ { > "owner" : { > "name" : "wwei" > }, > "quota" : { > "unit" : "TB", > "size" : 1048576 > }, > "volumeName" : "vol-0-84022", > "createdOn" : "Mon, 18 Sep 2017 03:09:46 GMT", > "createdBy" : null, > "bytesUsed" : 0, > "bucketCount" : 0 > } > ...] > {noformat} > Values for *createdOn*, *createdBy* and *bytesUsed* and *bucketCount* are all > missing. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org