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

Typo in config settings for AvailableSpaceVolumeChoosingPolicy in hdfs-default.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-beta
    • Fix Version/s: 2.1.0-beta
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      In hdfs-default.xml we have these two settings:

      dfs.datanode.fsdataset.volume.choosing.balanced-space-threshold
      dfs.datanode.fsdataset.volume.choosing.balanced-space-preference-percent
      

      But in fact they should be these, from DFSConfigKeys.java:

      dfs.datanode.available-space-volume-choosing-policy.balanced-space-threshold
      dfs.datanode.available-space-volume-choosing-policy.balanced-space-preference-percent
      

      This won't actually affect any functionality, since default values are used in the code anyway, but makes the documentation generated from hdfs-default.xml inaccurate.

        Attachments

        1. HDFS-4830.patch
          10 kB
          Aaron Myers
        2. HDFS-4830.patch
          3 kB
          Aaron Myers

          Activity

            People

            • Assignee:
              atm Aaron Myers
              Reporter:
              atm Aaron Myers
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: