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

HDFS bytes-default configurations should accept multiple size units

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In HDFS-1314 and HDFS-9842, it had make some configurations can be friendly accept multiply size unit, such as 134217728 can be also 128m, or 8048, can be also replaced by 8k. And in some configurations, the value will be large, like in dfs.datanode.available-space-volume-choosing-policy.balanced-space-threshold, its default value is 10g, equal to 10737418240. Obviously, it's not convenient to direct transform. So we could make some hdfs bytes-default configurations which without size unit name be friendly accepted multiply size unit.

        Attachments

        1. HDFS-9872.004.patch
          15 kB
          Yiqun Lin
        2. HDFS-9872.003.patch
          14 kB
          Yiqun Lin
        3. HDFS-9872.002.patch
          14 kB
          Yiqun Lin
        4. HDFS-9872.001.patch
          15 kB
          Yiqun Lin

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: