Hello Mike Percy, Todd Lipcon,
I'd like you to do a code review. Please visit
to review the following change.
Change subject: KUDU-1474: single to multi-master deployment migration
KUDU-1474: single to multi-master deployment migration
This patch introduces the machinery needed to migrate from a single-node
master deployment to multi-master:
1. Inclusion of the tablet copy service in the master. This was easy; the
master module already depends on 'tserver', so registering the service is
just a few lines of code.
2. The new "kudu" command line tool, whose operations are used in migration.
It'll also serve as the basis for KUDU-619.
3. An end-to-end integration test to showcase the migration.
A couple notes about the new tool. I began with a gflags-based approach, but
found it unwieldy after a while, because it's tough to provide a good help
experience, and the lack of positional argument support makes for long
I briefly looked at boost but didn't want to reintroduce a library dependency,
so I ended up writing my own (simple) parser. It maps command line arguments to
"actions" and allows for arbitrary levels of nesting, so you can do things like
"kudu tablet copy blah" as well as "kudu fs dump". At each level, if
insufficient arguments are provided, an informative help message is printed
though there's room for improvement here.
14 files changed, 944 insertions(+), 8 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/80/3880/1
To view, visit http://gerrit.cloudera.org:8080/3880
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Owner: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Mike Percy <mpe...@apache.org>
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>