Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16793

Remove WARN log when ipc connection interrupted in Client#handleSaslConnectionFailure()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0, 3.1.4, 3.2.2, 2.10.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      log info:

      // Some comments here
      2020-01-07,15:01:17,816 WARN org.apache.hadoop.ipc.Client: Exception encountered while connecting to the server : java.io.InterruptedIOException: Interrupted while waiting for IO on channel java.nio.channels.SocketChannel[connected local=/10.75.13.227:50415 remote=mb2-hadoop-prc-ct06.awsind/10.75.15.99:11230]. 60000 millis timeout left
      

      With RequestHedgingProxyProvider, one rpc call will send multiple requests to all namenodes. After one request return successfully,  all other requests will be interrupted. It's not a big problem and should not print a warning log.

      private synchronized void handleSaslConnectionFailure(
      ....
      LOG.warn("Exception encountered while connecting to "
              + "the server : " + ex);
      }
      
      
      

       

        Attachments

        1. HADOOP-16793.001.patch
          2 kB
          Lisheng Sun
        2. HADOOP-16793.002.patch
          2 kB
          Lisheng Sun
        3. HADOOP-16793.003.patch
          2 kB
          Lisheng Sun

          Activity

            People

            • Assignee:
              leosun08 Lisheng Sun
              Reporter:
              leosun08 Lisheng Sun
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: