[ 
https://issues.apache.org/jira/browse/HADOOP-6718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876144#action_12876144
 ] 

Soundararajan Velu commented on HADOOP-6718:
--------------------------------------------

Devaraj, Patch looks great, but shouldn't we catch Exception instead of 
IOException, Just in case... and then handle the situation.

> Client does not close connection when an exception happens during SASL 
> negotiation
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-6718
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6718
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.22.0
>            Reporter: Devaraj Das
>            Assignee: Devaraj Das
>             Fix For: 0.22.0
>
>         Attachments: 6718-bp20.patch
>
>
> setupSaslConnection in the RPC client might fail to successfully set up a 
> sasl connection (e.g. if the principal is wrongly configured). It throws an 
> exception back to the caller (setupIOstreams). setupIOstreams marks the 
> connection as closed but it doesn't really close the socket. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to