Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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?