Alexey Serbin has submitted this change and it was merged. ( 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 Reviewed-on: http://gerrit.cloudera.org:8080/16589 Reviewed-by: Grant Henke <[email protected]> Tested-by: Grant Henke <[email protected]> --- M src/kudu/client/client-internal.cc M src/kudu/client/client-test.cc 2 files changed, 15 insertions(+), 0 deletions(-) Approvals: Grant Henke: Looks good to me, approved; Verified -- 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: merged Gerrit-Change-Id: I4c7400d09298c01cd0b349cc2b9f481d1214f148 Gerrit-Change-Number: 16589 Gerrit-PatchSet: 2 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
