[ https://issues.apache.org/jira/browse/HADOOP-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067623#comment-13067623 ]
Hudson commented on HADOOP-2081: -------------------------------- Integrated in Hadoop-Common-trunk #751 (See [https://builds.apache.org/job/Hadoop-Common-trunk/751/]) HADOOP-2081. Configuration getInt, getLong, and getFloat replace invalid numbers with the default value. Contributed by Harsh J eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1147971 Files : * /hadoop/common/trunk/common/CHANGES.txt * /hadoop/common/trunk/common/src/test/core/org/apache/hadoop/conf/TestConfiguration.java * /hadoop/common/trunk/common/src/java/org/apache/hadoop/conf/Configuration.java > Configuration getInt, getLong, and getFloat replace invalid numbers with the > default value > ------------------------------------------------------------------------------------------ > > Key: HADOOP-2081 > URL: https://issues.apache.org/jira/browse/HADOOP-2081 > Project: Hadoop Common > Issue Type: Bug > Components: conf > Affects Versions: 0.22.0 > Reporter: Owen O'Malley > Assignee: Harsh J > Fix For: 0.23.0 > > Attachments: HADOOP-2081.r1.diff, HADOOP-2081.r2.diff, > HADOOP-2081.r3.diff > > > The current behavior of silently replace invalid numbers in the configuration > with the default value leads to hard to diagnose problems. The methods should > throw an exception to signal that the input was invalid. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira