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.