Hello Jean-Daniel Cryans, Alexey Serbin,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/7824
to review the following change.
Change subject: java-client: improve error messages when failing to connect to
secure cluster
......................................................................
java-client: improve error messages when failing to connect to secure cluster
Cleans up the error handling in Connection.java so that is passes
through non-recoverable exceptions, and improves the error which results
from attempting to connect to a secure cluster with an unauthenticate
client. Example of the new error:
org.apache.kudu.client.NonRecoverableException:
Couldn't find a valid master in (nightly512-1.gce.cloudera.com:7051).
Exceptions received:
org.apache.kudu.client.NonRecoverableException:
Server requires Kerberos, but this client is not authenticated
(kinit)
Change-Id: I41c3229dcda284dce57cb6f6930efe3b50fa9698
---
M java/kudu-client/src/main/java/org/apache/kudu/client/Connection.java
M java/kudu-client/src/main/java/org/apache/kudu/client/Negotiator.java
2 files changed, 66 insertions(+), 51 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/24/7824/1
--
To view, visit http://gerrit.cloudera.org:8080/7824
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I41c3229dcda284dce57cb6f6930efe3b50fa9698
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Dan Burkert <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Jean-Daniel Cryans <[email protected]>