You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2019/02/18 14:42:00 UTC

[jira] [Created] (HDFS-14293) Increase Default Size of dfs.stream-buffer-size

BELUGA BEHR created HDFS-14293:
----------------------------------

             Summary: Increase Default Size of dfs.stream-buffer-size
                 Key: HDFS-14293
                 URL: https://issues.apache.org/jira/browse/HDFS-14293
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: datanode
    Affects Versions: 3.2.0
            Reporter: BELUGA BEHR


For many years (7+) now, the JDK has been using a default buffer size of [8192 bytes|https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/share/classes/java/io/BufferedInputStream.java#L53].  Hadoop still defaults to a size half of that.  The default is {{dfs.stream-buffer-size}} is 4096 bytes.

https://hadoop.apache.org/docs/r2.8.0/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml

Please increase default size to 8192.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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