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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha3
    • 3.0.0-alpha4
    • shell
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: