[
https://issues.apache.org/jira/browse/HADOOP-6287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760211#action_12760211
]
Steve Loughran commented on HADOOP-6287:
----------------------------------------
Also, what happens when you try to getInt() a value that is out of range of an
integer? I believe historically Integer.parseInt() would throw a
NumberFormatException which would lead to the default. Trying to cast a long to
an int may be a different behaviour.
# Tests need to establish what the current behaviour is
# New code needs to maintain that behaviour -if everyone agrees that the old
behaviour was the correct one.
> Support units for configuration knobs
> -------------------------------------
>
> Key: HADOOP-6287
> URL: https://issues.apache.org/jira/browse/HADOOP-6287
> Project: Hadoop Common
> Issue Type: Improvement
> Components: conf
> Reporter: Arun C Murthy
> Assignee: Eli Collins
> Attachments: hadoop-6287-1.patch
>
>
> We should add support for units in our Configuration system so that we can
> specify values to be *1GB* or *1MB* rather than forcing every component which
> consumes such values to be aware of these.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.