Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/16589


Change subject: [client] robust handling of absent master address(es)
......................................................................

[client] robust handling of absent master address(es)

This patch updates Kudu C++ client with robust handling of the absence
of master addresses prior to connection attempt to a Kudu cluster.

Before to this patch, KuduClientBuilder::Build() would hang in
ConnectToCluster().  After this patch, KuduClientBuilder::Build()
instantly returns Status::InvalidArgument() if no master addresses
are provided.

This patch also contains a test for the new behavior.

Change-Id: I4c7400d09298c01cd0b349cc2b9f481d1214f148
---
M src/kudu/client/client-internal.cc
M src/kudu/client/client-test.cc
2 files changed, 15 insertions(+), 0 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4c7400d09298c01cd0b349cc2b9f481d1214f148
Gerrit-Change-Number: 16589
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to