Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-977

DataNode.createInterDataNodeProtocolProxy() guards a log at the wrong level

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: datanode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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

          if (InterDatanodeProtocol.LOG.isDebugEnabled()) {
            InterDatanodeProtocol.LOG.info("InterDatanodeProtocol addr=" + addr);
          }
      
      1. HDFS-977.r2.diff
        0.8 kB
        Harsh J
      2. HDFS-977.r1.diff
        0.8 kB
        Harsh J

        Activity

          People

          • Assignee:
            Harsh J
            Reporter:
            Steve Loughran
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development