Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
2.6.2, 2.6.3
-
None
-
None
Description
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)
DFSConfigKeys.java
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
(hdfs-default.xml)
https://hadoop.apache.org/docs/r2.6.2/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml
Attachments
Issue Links
- duplicates
-
HDFS-8633 Fix setting of dfs.datanode.readahead.bytes in hdfs-default.xml to match DFSConfigKeys
- Closed