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

Add Configuration API for parsing storage sizes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0, 3.0.1
    • conf
    • None
    • 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.003.patch
          34 kB
          Anu Engineer
        2. HADOOP-15204.002.patch
          35 kB
          Anu Engineer
        3. HADOOP-15204.001.patch
          31 kB
          Anu Engineer

        Activity

          People

            aengineer Anu Engineer
            aengineer Anu Engineer
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: