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] [Commented] (HDFS-11955) Ozone: Set proper parameter default values for listBuckets http request
Date Fri, 09 Jun 2017 17:15:18 GMT

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

Weiwei Yang commented on HDFS-11955:

Tested on a cluster, when list buckets without any parameter, I get

17/06/09 09:59:39 INFO exceptions.OzoneExceptionMapper: 
Returning exception. ex:
  "message":"Illegal max number of keys specified, the value must be in range (0, 1024], actual
: 0.",

Will continue with more testing and upload a complete fix.

> Ozone: Set proper parameter default values for listBuckets http request
> -----------------------------------------------------------------------
>                 Key: HDFS-11955
>                 URL: https://issues.apache.org/jira/browse/HDFS-11955
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
> HDFS-11779 implements the listBuckets function in ozone server side, the API supports
several parameters, startKey, count and prefix. But both of them are optional for the client
side rest API. This jira is to make sure we set proper default values in the http request
if they are not explicitly set by users.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message