hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Soundararajan Velu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6718) Client does not close connection when an exception happens during SASL negotiation
Date Mon, 07 Jun 2010 07:25:57 GMT

    [ 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.


Mime
View raw message