hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11832) Switch leftover logs to slf4j format in BlockManager.java
Date Mon, 29 May 2017 09:16:04 GMT

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

Hudson commented on HDFS-11832:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11795 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11795/])
HDFS-11832. Switch leftover logs to slf4j format in BlockManager.java. (aajisaka: rev a7f085d6bf499edf23e650a4f7211c53a442da0e)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/InvalidateBlocks.java


> Switch leftover logs to slf4j format in BlockManager.java
> ---------------------------------------------------------
>
>                 Key: HDFS-11832
>                 URL: https://issues.apache.org/jira/browse/HDFS-11832
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 2.7.0, 2.8.0, 3.0.0-alpha1
>            Reporter: Hui Xu
>            Assignee: Chen Liang
>            Priority: Minor
>             Fix For: 3.0.0-alpha4
>
>         Attachments: HDFS-11832.001.patch, HDFS-11832.002.patch, HDFS-11832.003.patch,
HDFS-11832.004.patch, HDFS-11832.005.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> HDFS-7706 Switch BlockManager logging to use slf4j. But the logging formats were not
modified appropriately. For example:
>       if (LOG.isDebugEnabled()) {
>         LOG.debug("blocks = " + java.util.Arrays.asList(blocks));
>       }
> These codes should be modified to:
>       LOG.debug("blocks = {}", java.util.Arrays.asList(blocks));



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message