hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lokesh Jain (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDDS-66) ListVolume output misses some attributes
Date Tue, 15 May 2018 07:14:00 GMT

    [ https://issues.apache.org/jira/browse/HDDS-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16475383#comment-16475383
] 

Lokesh Jain commented on HDDS-66:
---------------------------------

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


Mime
View raw message