Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15204

Add Configuration API for parsing storage sizes

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0, 3.0.1
    • Component/s: conf
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Hadoop has a lot of configurations that specify memory and disk size. This JIRA proposes to add an API like Configuration.getStorageSize which will allow users
      to specify units like KB, MB, GB etc. This is JIRA is inspired by HADOOP-8608 and Ozone. Adding getTimeDuration support was a great improvement for ozone code base, this JIRA hopes to do the same thing for configs that deal with disk and memory usage.

        Attachments

        1. HADOOP-15204.001.patch
          31 kB
          Anu Engineer
        2. HADOOP-15204.002.patch
          35 kB
          Anu Engineer
        3. HADOOP-15204.003.patch
          34 kB
          Anu Engineer

          Activity

            People

            • Assignee:
              anu Anu Engineer
              Reporter:
              anu Anu Engineer
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: