[
https://issues.apache.org/jira/browse/HBASE-24579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17140440#comment-17140440
]
Wellington Chevreuil commented on HBASE-24579:
----------------------------------------------
Merged into master, branch-2 and branch-2.3 branches. Tried to cherry pick into
branch-2.2 but got compile errors in TestHBaseSaslRpcClient. [~bszabolcs], can
you make a PR to branch-2.2?
> Failed SASL authentication does not result in an exception on client side
> -------------------------------------------------------------------------
>
> Key: HBASE-24579
> URL: https://issues.apache.org/jira/browse/HBASE-24579
> Project: HBase
> Issue Type: Bug
> Components: rpc
> Affects Versions: 3.0.0-alpha-1, 2.3.0, 2.4.0, 2.2.5
> Reporter: Szabolcs Bukros
> Assignee: Szabolcs Bukros
> Priority: Major
> Fix For: 3.0.0-alpha-1, 2.3.1, 2.4.0
>
>
> When HBaseSaslRpcClient.saslConnect tries to authenticate it only reads the
> input stream if the process is not complete yet. However if the
> authentication failed and the process is completed the exception sent back in
> the stream never gets read.
> We should always try to read the input stream even if the process is complete
> to make sure it was empty.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)