hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (HADOOP-8484) Prevent Configuration getter methods that are passed a default value from throwing RuntimeException
Date Thu, 11 Oct 2012 17:45:06 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-8484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arun C Murthy closed HADOOP-8484.
---------------------------------

    
> Prevent Configuration getter methods that are passed a default value from throwing RuntimeException
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8484
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8484
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 2.0.0-alpha
>            Reporter: Ahmed Radwan
>             Fix For: 2.0.2-alpha
>
>
> Configuration getter methods that are passed default values can throw RuntimeExceptions
if the value provided is invalid (e.g. NumberFormatException).
> In many cases such exception results in more serious consequences (failure to sart a
service, see for example NodeManager DeletionService). This can be avoided by returning the
default value and just printing a warning message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message