Shweta created HDFS-14371:
-----------------------------

             Summary: 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


Remove check for debug log enabled as:
{code: java}
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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to