Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-9578

Incorrect default value (typo) in hdfs-default.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.6.2, 2.6.3
    • Fix Version/s: None
    • Component/s: documentation
    • Labels:
      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

            Activity

              People

              • Assignee:
                xiaobingo Xiaobing Zhou
                Reporter:
                tianyin Tianyin Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: