[
https://issues.apache.org/jira/browse/HDFS-14371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16811413#comment-16811413
]
Hudson commented on HDFS-14371:
-------------------------------
FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #16356 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/16356/])
HDFS-14371. Improve Logging in FSNamesystem by adding parameterized (weichiu:
rev e9b859f749103dc15fb4b4fc677f5586fceb20b3)
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
> Improve Logging in FSNamesystem by adding parameterized logging
> ---------------------------------------------------------------
>
> Key: HDFS-14371
> URL: https://issues.apache.org/jira/browse/HDFS-14371
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs
> Affects Versions: 3.3.0
> Reporter: Shweta
> Assignee: Shweta
> Priority: Minor
> Fix For: 3.3.0
>
> Attachments: HDFS-14371.001.patch, HDFS-14371.002.patch
>
>
> Remove several instances of check for debug log enabled in FSNamesystem one
> such example is as:
> {code}
> if (LOG.isDebugEnabled()) {
> LOG.debug("list corrupt file blocks returned: " + count);
> }
> {code}
> This can be replaced by using parameterized logging.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]