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

dfs.datanode.balance.bandwidthPerSec should accept friendly size units

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: balancer & mover
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In HDFS-1314, it made the dfs.blocksize can accept different size type like mb, kb, gb, etc. Using "dfs.block.size=8388608" works and "dfs.block.size=8mb" also can work, and this type will finally transform to byte format. So we also can make similar property dfs.datanode.balance.bandwidthPerSec be friendly accepted in size unit.

        Attachments

        1. HDFS-9842.001.patch
          2 kB
          Yiqun Lin

          Issue Links

            Activity

              People

              • Assignee:
                linyiqun Yiqun Lin
                Reporter:
                linyiqun Yiqun Lin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: