Anu Engineer created HADOOP-15204:
-------------------------------------
Summary: Add Configuration API for parsing storage sizes
Key: HADOOP-15204
URL: https://issues.apache.org/jira/browse/HADOOP-15204
Project: Hadoop Common
Issue Type: Improvement
Components: conf
Affects Versions: 3.1.0
Reporter: Anu Engineer
Assignee: Anu Engineer
Fix For: 3.1.0
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 HDFS-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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]