hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11006) Ozone: support setting chunk size in streaming API
Date Wed, 05 Apr 2017 18:02:41 GMT

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

Anu Engineer commented on HDFS-11006:
-------------------------------------

+1, Thank you for taking care of this issue. 
I will commit this shortly. There are 2 minor language fixes. I will fix them while committing.
I will change the messages to the one below.

DistributedHandler.java:
{noformat}
      LOG.warn("The chunk size ({}) is not allowed to be more than"
          + " the maximum size ({}),"
          + " resetting to the maximum size.",
          chunkSize, ScmConfigKeys.OZONE_SCM_CHUNK_MAX_SIZE);
{noformat}

ozone-defaults.xml:
{noformat}
The chunk size defaults to 1MB. If the vaule configured is more
      than the maximum size (1MB), it will be reset to the maximum
      size.
{noformat}



> Ozone: support setting chunk size in streaming API
> --------------------------------------------------
>
>                 Key: HDFS-11006
>                 URL: https://issues.apache.org/jira/browse/HDFS-11006
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Anu Engineer
>            Assignee: Yiqun Lin
>         Attachments: HDFS-11006-HDFS-7240.001.patch, HDFS-11006-HDFS-7240.002.patch,
HDFS-11006-HDFS-7240.003.patch
>
>
> Right now we have a hard coded chunk size, we should either have this read from config
or the user should be able to pass this to ChunkInputStream



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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