Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-977

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.22.0
    • 0.22.0
    • datanode
    • None
    • 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);
          }
      

      Attachments

        1. HDFS-977.r2.diff
          0.8 kB
          Harsh J
        2. HDFS-977.r1.diff
          0.8 kB
          Harsh J

        Activity

          People

            qwertymaniac Harsh J
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: