joshelser opened a new pull request #1502: HBASE-23881 Ensure Netty client receives at least one response before… URL: https://github.com/apache/hbase/pull/1502 … considering SASL negotiation complete The PLAIN mechanism test added in the Shade authentication example has different semantics than GSSAPI mechanism -- the client reports that the handshake is done after the original challenge is computed. The javadoc on SaslClient, however, tells us that we need to wait for a response from the server before proceeding. The client, best as I can see, does not receive any data from HBase; however the application semantics (e.g. throw an exception on auth'n error) do not work as we intend as a result of this bug. Extra trace logging was also added to debug this, should a similar error ever happen again with some other mechanism. Closes #1260 Signed-off-by: Duo Zhang <zhang...@apache.org> Signed-off-by: Bharath Vissapragada <bhara...@apache.org>
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services