Todd Lipcon has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/9070 )
Change subject: java: improve error messages when tokens are not used ...................................................................... java: improve error messages when tokens are not used We recently had some trouble debugging Java client connection failures where we expected it to authenticate by token but it did not. Previously it just complained that it couldn't authenticate by SASL and didn't give any clue as to why it didn't use tokens. This patch makes the error more clear by explaining why a token was not used to authenticate. Change-Id: I7f5160a79e973c411c16a784dc105444f5dd2a6f Reviewed-on: http://gerrit.cloudera.org:8080/9070 Reviewed-by: Alexey Serbin <[email protected]> Tested-by: Kudu Jenkins --- M java/kudu-client/src/main/java/org/apache/kudu/client/Negotiator.java M java/kudu-client/src/main/java/org/apache/kudu/client/SecurityContext.java M java/kudu-client/src/test/java/org/apache/kudu/client/TestSecurity.java 3 files changed, 83 insertions(+), 11 deletions(-) Approvals: Alexey Serbin: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/9070 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I7f5160a79e973c411c16a784dc105444f5dd2a6f Gerrit-Change-Number: 9070 Gerrit-PatchSet: 4 Gerrit-Owner: Todd Lipcon <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Dan Burkert <[email protected]> Gerrit-Reviewer: Hao Hao <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Todd Lipcon <[email protected]>
