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

Accept human-friendly units in dfsadmin -setBalancerBandwidth and -setQuota

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha3
    • Fix Version/s: 3.0.0-alpha4
    • Component/s: shell
    • Labels:
      None

      Description

      We support human readable units now. The default balancing bandwidth in the conf is "10m". However, human readable units are not supported by dfsadmin -setBalancerBandwidth. This means you can't pass the output of "hdfs getconf -confKey dfs.datanode.balance.bandwidthPerSec" to "hdfs dfsadmin -setBalancerBandwidth".

      This is a regression from pre-human readable units.

        Attachments

        1. HDFS-12009.001.patch
          3 kB
          Andrew Wang
        2. HDFS-12009.002.patch
          4 kB
          Andrew Wang

          Issue Links

            Activity

              People

              • Assignee:
                andrew.wang Andrew Wang
                Reporter:
                andrew.wang Andrew Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: