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 "Tianyin Xu (JIRA)" <ji...@apache.org> on 2015/12/19 01:47:46 UTC
[jira] [Commented] (HDFS-9578) Incorrect default value (typo) in
hdfs-default.xml
[ https://issues.apache.org/jira/browse/HDFS-9578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15065082#comment-15065082 ]
Tianyin Xu commented on HDFS-9578:
----------------------------------
Thanks, [~zhz]!
wow, it's hard to believe the report was 6 months ago, and the error still hasn't been fixed even now... (2.6.3 is just released yesterday)... :-S
> Incorrect default value (typo) in hdfs-default.xml
> --------------------------------------------------
>
> Key: HDFS-9578
> URL: https://issues.apache.org/jira/browse/HDFS-9578
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: documentation
> Affects Versions: 2.6.2, 2.6.3
> Reporter: Tianyin Xu
> Priority: Minor
>
> In {{hdfs-default.xml}}, the default value of {{dfs.datanode.readahead.bytes}} is wrong.
> The value should be 4MB (4 * 1024 * 1024) according to the code, i.e.,
> {{4194304}},
> while in hdfs-default.xml, it is
> {{4193404}}.
> ----------------------------
> (src)
> {code:title=DFSConfigKeys.java|borderStyle=solid}
> 134 public static final String DFS_DATANODE_READAHEAD_BYTES_KEY = "dfs.datanode.readahead.bytes";
> 135 public static final long DFS_DATANODE_READAHEAD_BYTES_DEFAULT = 4 * 1024 * 1024; // 4MB
> {code}
> (hdfs-default.xml)
> https://hadoop.apache.org/docs/r2.6.2/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)