You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Shweta (JIRA)" <ji...@apache.org> on 2019/03/14 00:34:00 UTC

[jira] [Work started] (HDFS-14371) Improve Logging in FSNamesystem by adding parameterized logging

     [ https://issues.apache.org/jira/browse/HDFS-14371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HDFS-14371 started by Shweta.
-------------------------------------
> 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
>         Attachments: HDFS-14371.001.patch
>
>
> Remove several instances of check for debug log enabled in FSNamesystem one such example is as:
> {code}
> if (LOG.isDebugEnabled()) {
>           LOG.debug("NameNode metadata after re-processing " +
>               "replication and invalidation queues during failover:\n" +
>               metaSaveAsString());
> }
> {code}
> This can be replaced by using parameterized logging.



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

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