kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [2/3] kudu git commit: [docs] minor cleanup on multi-master migration doc
Date Tue, 18 Sep 2018 17:03:30 GMT
[docs] minor cleanup on multi-master migration doc

master_data_dirs --> master_data_dir in the list of arguments for
the kudu CLI too to be consistent with the description of those.

Change-Id: I88e724a9d27e4e08610e6941b613ba13faa4c5ec
Reviewed-on: http://gerrit.cloudera.org:8080/11458
Reviewed-by: Adar Dembo <adar@cloudera.com>
Tested-by: Kudu Jenkins


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/c2054ae8
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/c2054ae8
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/c2054ae8

Branch: refs/heads/master
Commit: c2054ae89c2e8217e655c71a1f83b38947fa438d
Parents: c36a9fe
Author: Alexey Serbin <aserbin@cloudera.com>
Authored: Thu Sep 13 21:09:16 2018 -0700
Committer: Alexey Serbin <aserbin@cloudera.com>
Committed: Mon Sep 17 23:31:12 2018 +0000

----------------------------------------------------------------------
 docs/administration.adoc | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/c2054ae8/docs/administration.adoc
----------------------------------------------------------------------
diff --git a/docs/administration.adoc b/docs/administration.adoc
index aebf382..67486e8 100644
--- a/docs/administration.adoc
+++ b/docs/administration.adoc
@@ -247,7 +247,7 @@ it and the vendor's instructions should be used instead as details may
differ.
 +
 [source,bash]
 ----
-$ sudo -u kudu kudu fs dump uuid --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dirs>]
2>/dev/null
+$ sudo -u kudu kudu fs dump uuid --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dir>]
2>/dev/null
 ----
 master_data_dir:: existing master's previously recorded data directory
 +
@@ -302,8 +302,8 @@ the migration section for updating HMS.
 +
 [source,bash]
 ----
-$ sudo -u kudu kudu fs format --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dirs>]
-$ sudo -u kudu kudu fs dump uuid --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dirs>]
2>/dev/null
+$ sudo -u kudu kudu fs format --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dir>]
+$ sudo -u kudu kudu fs dump uuid --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dir>]
2>/dev/null
 ----
 +
 master_data_dir:: new master's previously recorded data directory
@@ -327,7 +327,7 @@ f5624e05f40649b79a757629a69d061e
 +
 [source,bash]
 ----
-$ sudo -u kudu kudu local_replica cmeta rewrite_raft_config --fs_wal_dir=<master_wal_dir>
[--fs_data_dirs=<master_data_dirs>] <tablet_id> <all_masters>
+$ sudo -u kudu kudu local_replica cmeta rewrite_raft_config --fs_wal_dir=<master_wal_dir>
[--fs_data_dirs=<master_data_dir>] <tablet_id> <all_masters>
 ----
 +
 master_data_dir:: existing master's previously recorded data directory
@@ -360,7 +360,7 @@ WARNING: If your Kudu cluster is secure, in addition to running as the
Kudu UNIX
 +
 [source,bash]
 ----
-$ sudo -u kudu kudu local_replica copy_from_remote --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dirs>]
<tablet_id> <existing_master>
+$ sudo -u kudu kudu local_replica copy_from_remote --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dir>]
<tablet_id> <existing_master>
 ----
 +
 master_data_dir:: new master's previously recorded data directory
@@ -477,7 +477,7 @@ WARNING: All of the command line steps below should be executed as the
Kudu UNIX
 +
 [source,bash]
 ----
-$ sudo -u kudu kudu fs dump uuid --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dirs>]
2>/dev/null
+$ sudo -u kudu kudu fs dump uuid --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dir>]
2>/dev/null
 ----
 master_data_dir:: live master's previously recorded data directory
 +
@@ -500,7 +500,7 @@ $ sudo -u kudu kudu fs dump uuid --fs_wal_dir=/data/kudu/master/wal --fs_data_di
 +
 [source,bash]
 ----
-$ sudo -u kudu kudu local_replica cmeta print_replica_uuids --fs_wal_dir=<master_wal_dir>
[--fs_data_dirs=<master_data_dirs>] <tablet_id> 2>/dev/null
+$ sudo -u kudu kudu local_replica cmeta print_replica_uuids --fs_wal_dir=<master_wal_dir>
[--fs_data_dirs=<master_data_dir>] <tablet_id> 2>/dev/null
 ----
 master_data_dir:: reference master's previously recorded data directory
 tablet_id:: must be the string `00000000000000000000000000000000`
@@ -523,7 +523,7 @@ $ sudo -u kudu kudu local_replica cmeta print_replica_uuids --fs_wal_dir=/data/k
 +
 [source,bash]
 ----
-$ sudo -u kudu kudu fs format --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dirs>]
--uuid=<uuid>
+$ sudo -u kudu kudu fs format --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dir>]
--uuid=<uuid>
 ----
 +
 master_data_dir:: replacement master's previously recorded data directory
@@ -543,7 +543,7 @@ WARNING: If your Kudu cluster is secure, in addition to running as the
Kudu UNIX
 +
 [source,bash]
 ----
-$ sudo -u kudu kudu local_replica copy_from_remote --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dirs>]
<tablet_id> <reference_master>
+$ sudo -u kudu kudu local_replica copy_from_remote --fs_wal_dir=<master_wal_dir> [--fs_data_dirs=<master_data_dir>]
<tablet_id> <reference_master>
 ----
 +
 master_data_dir:: replacement master's previously recorded data directory
@@ -667,7 +667,7 @@ resolve them.
 
 . Rewrite each master’s Raft configuration with the following command, executed on all
master hosts:
 ----
-$ sudo -u kudu kudu local_replica cmeta rewrite_raft_config --fs_wal_dir=<master_wal_dir>
[--fs_data_dirs=<master_data_dirs>] 00000000000000000000000000000000 <all_masters>
+$ sudo -u kudu kudu local_replica cmeta rewrite_raft_config --fs_wal_dir=<master_wal_dir>
[--fs_data_dirs=<master_data_dir>] 00000000000000000000000000000000 <all_masters>
 ----
 
 For example:


Mime
View raw message