[
https://issues.apache.org/jira/browse/HBASE-24579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wellington Chevreuil resolved HBASE-24579.
------------------------------------------
Resolution: Fixed
Thanks for the contribution, [~bszabolcs]! Had merged last PR into 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, 2.2.6
>
>
> 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)