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

HDFS bytes-default configurations should accept multiple size units

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.1
    • 3.3.0
    • None
    • None
    • 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.001.patch
          15 kB
          Yiqun Lin
        2. HDFS-9872.002.patch
          14 kB
          Yiqun Lin
        3. HDFS-9872.003.patch
          14 kB
          Yiqun Lin
        4. HDFS-9872.004.patch
          15 kB
          Yiqun Lin

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: