You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Anu Engineer (JIRA)" <ji...@apache.org> on 2017/07/01 06:41:00 UTC

[jira] [Commented] (HDFS-11773) Ozone: KSM : add listVolumes

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

Anu Engineer commented on HDFS-11773:
-------------------------------------

+1, I will commit this shortly. We should file a JIRA to trace out all the "FAILED_INTERNAL_ERROR" and see if we can replace it with a better errors. Also when we return "FAILED_INTERNAL_ERROR", we should log with an Error level. Both of this we can do it in a separate JIRA, so I am going to commit this patch now.



> Ozone: KSM : add listVolumes
> ----------------------------
>
>                 Key: HDFS-11773
>                 URL: https://issues.apache.org/jira/browse/HDFS-11773
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Anu Engineer
>            Assignee: Weiwei Yang
>         Attachments: HDFS-11773-HDFS-7240.001.patch, HDFS-11773-HDFS-7240.002.patch, HDFS-11773-HDFS-7240.003.patch, listVolume_tests.log
>
>
> List volume call can be used in three different contexts. One is for the administrators to list all volumes in a cluster. Second is for the administrator to list the volumes owned by a specific user. Third is a user listing the volumes owned by himself/herself.
> Since these calls can return large number of entries the rest protocol supports paging. Paging is supported by the use of prevKey, prefix and maxKeys. The caller is aware the this call is neither atomic nor consistent. So we can iterate over the list even while changes are happening to the list.



--
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