[ 
https://issues.apache.org/jira/browse/HADOOP-8030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16051937#comment-16051937
 ] 

Andras Bokor commented on HADOOP-8030:
--------------------------------------

I agree. Quiet mode not just hide some logs but works differently.

> 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 was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to