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

BELUGA BEHR commented on HDFS-14103:
------------------------------------

[~ayushtkn] Thank you for the review!  The difference here is that if the 
logger is set to WARN, then you just get the Exception message.  If you set the 
logger to TRACE level, then you get the entire stack trace too.

I submitted the patch again to see if the unit test pass now.

> Review Logging of BlockPlacementPolicyDefault
> ---------------------------------------------
>
>                 Key: HDFS-14103
>                 URL: https://issues.apache.org/jira/browse/HDFS-14103
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: BELUGA BEHR
>            Assignee: BELUGA BEHR
>            Priority: Minor
>         Attachments: HDFS-14103.1.patch, HDFS-14103.1.patch, 
> HDFS-14103.2.patch
>
>
> Review use of SLF4J in {{BlockPlacementPolicyDefault.java}}
> Other minor logging improvements.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to