[ https://issues.apache.org/jira/browse/HADOOP-7313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036632#comment-13036632 ]
E. Sammer commented on HADOOP-7313: ----------------------------------- Many places in the code base use the form of Configuration#get*() that accepts defaults. This makes life much easier for developers in that we can be sure we don't get a NullPointerException on return, but it creates a situation where *-default.xml does not match the defaults supplied in code. This presents potentially odd behavior. Ideally, an option missing from the proper *-default.xml file is a build / release error rather than something that silently results in an undocumented value. Ari Rabkin did some research into this[1] and identified some of these inconsistencies. [1] http://www.cs.berkeley.edu/~asrabkin/hadoop_opts/cdh3u0-options.html (While this says cdh3u0, I believe it still applies to Apache Hadoop trunk). > Remove all framework use of Configuration default args > ------------------------------------------------------ > > Key: HADOOP-7313 > URL: https://issues.apache.org/jira/browse/HADOOP-7313 > Project: Hadoop Common > Issue Type: Improvement > Components: conf > Affects Versions: 0.21.0 > Reporter: E. Sammer > > The Hadoop code base should not use the form of Configuration#get*() that > accepts a default. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira