Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27339

Improve sasl connection failure log message to include server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7.2
    • 2.6.0, 2.5.1, 3.0.0-alpha-4, 2.4.15
    • Client
    • None
    • Reviewed

    Description

      We were seeing timeout issues in our deployment in the saslConnect path in the blockingRPC client.  Knowing which server we failed to connect to would help isolate and understand the issue.

       

       

      ipc.BlockingRpcConnection - Exception encountered while connecting to the server : 
      java.io.IOException: Connection reset by peer 

       

       

      Change the log message to something like

       

      ipc.BlockingRpcConnection - Exception encountered while connecting to the server myhost.realm.net: 
      java.io.IOException: Connection reset by peer 

       

      See relevant code here

      Attachments

        Issue Links

          Activity

            People

              apurtell Andrew Kyle Purtell
              dbwong Daniel Wong
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: