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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0-beta
    • 2.1.0-beta
    • None
    • None
    • 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
          3 kB
          Aaron Myers
        2. HDFS-4830.patch
          10 kB
          Aaron Myers

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: