Yingchun Lai has uploaded this change for review. (
http://gerrit.cloudera.org:8080/13354
Change subject: [tool] Add cluster name resolver for CLI tools
......................................................................
[tool] Add cluster name resolver for CLI tools
Kudu master rpc addresses are not easy to remember when use CLI
tools, even worse, when manage several Kudu clusters.
This patch add a YAML configuration file cluster_info.yaml in
${KUDU_HOME} for cluster name resolving, and there is a simple
example in that file.
Change-Id: I2fc235906adbf25fcc2059fa8443e3013830ec01
---
A cluster_info.yaml
M src/kudu/tools/kudu-tool-test.cc
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_master.cc
M src/kudu/tools/tool_action_perf.cc
M src/kudu/tools/tool_action_table.cc
M src/kudu/tools/tool_action_tablet.cc
10 files changed, 117 insertions(+), 41 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/54/13354/1
--
To view, visit http://gerrit.cloudera.org:8080/13354
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2fc235906adbf25fcc2059fa8443e3013830ec01
Gerrit-Change-Number: 13354
Gerrit-PatchSet: 1
Gerrit-Owner: Yingchun Lai <[email protected]>