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

Ayush Saxena edited comment on HDFS-14238 at 10/8/19 3:07 PM:
--------------------------------------------------------------

I think the log levels are to depict the severity of the events.

Error is to denote failure of an operation. warn to denote a potential failure 
and info is just to denote a normal harmless indecent.

May get some pointers from 
[here|https://issues.apache.org/jira/browse/HDFS-10303?focusedCommentId=16942254&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16942254]
 too.

I think this should be INFO only.

[~xkrogen] thoughts??

 


was (Author: ayushtkn):
I think the log levels are to depict the severity of the events.

Error is to denote failure of an operation. warn to denote a potential failure 
and info is just to denote a normal harmless indecent.

May get some pointers from here too.

I think this should be INFO only.

[~xkrogen] thoughts??

 

> A log in NNThroughputBenchmark should  change log level to "INFO" instead of 
> "ERROR"
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-14238
>                 URL: https://issues.apache.org/jira/browse/HDFS-14238
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Shen Yinjie
>            Assignee: Shen Yinjie
>            Priority: Major
>         Attachments: HDFS-14238.patch
>
>
> In NNThroughputBenchmark#150, LOG.error("Log level = " + logLevel.toString());
> this loglevel should be changed to “LOG.info()” ,since no error occurs here, 
> just tell us namenode log level has changed .



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to