Yifan Zhang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14981
Change subject: [java] retry to connect to the cluster when specifing a superset of masters ...................................................................... [java] retry to connect to the cluster when specifing a superset of masters When the user specifies masters in the connection string, which contains all the existing masters, but couldn't find a leader master, the client should retry to connect to the cluster instead of returning with NonRecoverableException. This will be useful when we need to add or remove masters. Change-Id: I66033c3ff6d217ce6b8286c94a7333b90cd26d19 --- M java/kudu-client/src/main/java/org/apache/kudu/client/ConnectToCluster.java M java/kudu-client/src/test/java/org/apache/kudu/client/TestConnectToCluster.java 2 files changed, 31 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/81/14981/1 -- To view, visit http://gerrit.cloudera.org:8080/14981 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I66033c3ff6d217ce6b8286c94a7333b90cd26d19 Gerrit-Change-Number: 14981 Gerrit-PatchSet: 1 Gerrit-Owner: Yifan Zhang <[email protected]>
