Daniel Wong created HBASE-27339:
-----------------------------------

             Summary: Improve sasl connection failure log message to include 
server
                 Key: HBASE-27339
                 URL: https://issues.apache.org/jira/browse/HBASE-27339
             Project: HBase
          Issue Type: Improvement
          Components: Client
    Affects Versions: 2.4.13, 1.7.2
            Reporter: Daniel Wong
             Fix For: 2.5.0


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.

 

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

 

Change the log message to something like

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

See relevant code 
[here|https://github.com/apache/hbase/blob/master/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/BlockingRpcConnection.java#L398]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to