You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Elias Ross (Created) (JIRA)" <ji...@apache.org> on 2012/02/07 21:18:59 UTC
[jira] [Created] (HADOOP-8030) Configuration class can throw
exceptions in quiet mode; quiet mode usage unclear
Configuration class can throw exceptions in quiet mode; quiet mode usage unclear
--------------------------------------------------------------------------------
Key: HADOOP-8030
URL: https://issues.apache.org/jira/browse/HADOOP-8030
Project: Hadoop Common
Issue Type: Bug
Components: conf
Reporter: Elias Ross
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
if (doc == null && root == null) {
if (quiet)
return;
throw new RuntimeException(name + " not found");
}
Unclear why a diagnostic mode would throw an exception, while normally off it would not.
It's also not clear why 'quiet' is being passed around as well. Why not use logging levels and logging configuration and remove 'quiet' mode altogether?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira