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


Change subject: [CLI] introduce connection negotiation timeout
......................................................................

[CLI] introduce connection negotiation timeout

Since the connection negotiation timeout for Kudu client is now
configurable (see KUDU-2966 and changelist 62ec1e474), it's time to use
the new functionality in the kudu CLI tools.

This changelist sets the default value for the connection negotiation
timeout at the client side to 8 seconds to deal with larger and heavy
loaded clusters.

With this changeliest, all RPC-related kudu CLI tools now have command
line arguments to control the RPC and the connection negotiation
timeouts:
  * timeout_ms
  * connection_negotiation_timeout_ms

In addition, this patch also unifies the way how KuduClient instances
are created in the kudu CLI code.

WIP:
  * add tests for the signatures with the connection negotiation timeout
  * add tests for the signatures with the RPC timeout

Change-Id: I5627517fd1da4f4d7472f1f0af810d741efe3390
---
M src/kudu/integration-tests/replace_tablet-itest.cc
M src/kudu/tools/ksck_checksum.cc
M src/kudu/tools/ksck_remote.cc
M src/kudu/tools/rebalancer_tool.cc
M src/kudu/tools/rebalancer_tool.h
M src/kudu/tools/tool_action.h
M src/kudu/tools/tool_action_cluster.cc
M src/kudu/tools/tool_action_common.cc
M src/kudu/tools/tool_action_common.h
M src/kudu/tools/tool_action_hms.cc
M src/kudu/tools/tool_action_local_replica.cc
M src/kudu/tools/tool_action_master.cc
M src/kudu/tools/tool_action_perf.cc
M src/kudu/tools/tool_action_remote_replica.cc
M src/kudu/tools/tool_action_table.cc
M src/kudu/tools/tool_action_tablet.cc
M src/kudu/tools/tool_action_tserver.cc
M src/kudu/tools/tool_replica_util.cc
18 files changed, 378 insertions(+), 349 deletions(-)



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

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

Reply via email to