hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-977) DataNode.createInterDataNodeProtocolProxy() guards a log at the wrong level
Date Sat, 13 Feb 2010 15:32:28 GMT
DataNode.createInterDataNodeProtocolProxy() guards a log at the wrong level
---------------------------------------------------------------------------

                 Key: HDFS-977
                 URL: https://issues.apache.org/jira/browse/HDFS-977
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: data-node
    Affects Versions: 0.22.0
            Reporter: Steve Loughran
            Priority: Trivial


My IDE tells me that this code snippet in {{DataNode.createInterDataNodeProtocolProxy()}}
is guarding the info log entry at debug level, and it should be reviewed
{code}
    if (InterDatanodeProtocol.LOG.isDebugEnabled()) {
      InterDatanodeProtocol.LOG.info("InterDatanodeProtocol addr=" + addr);
    }
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message