Yifan Zhang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/15036


Change subject: [java] support resolve one master address to multiple addresses
......................................................................

[java] support resolve one master address to multiple addresses

The master addresses of kudu client are fixed during runtime, we need to
restart the client if we want to change the master addresses.

In some network settings we can map a domain name to multiple ip addresses,
if we configure the client with such a domain name as a 'master address',
resolve it and try to connect each ip address, we can easily change the master
addresses by network settings modifications.

Change-Id: Ie242bc1331596902fa16f1c6d1b439d78b73977a
---
M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
M java/kudu-client/src/main/java/org/apache/kudu/client/ConnectToCluster.java
M java/kudu-client/src/main/java/org/apache/kudu/util/NetUtil.java
3 files changed, 87 insertions(+), 17 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/36/15036/1
--
To view, visit http://gerrit.cloudera.org:8080/15036
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie242bc1331596902fa16f1c6d1b439d78b73977a
Gerrit-Change-Number: 15036
Gerrit-PatchSet: 1
Gerrit-Owner: Yifan Zhang <chinazhangyi...@163.com>

Reply via email to