You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2021/12/14 18:18:36 UTC

[kudu] branch master updated: Fix some typo in help docs

This is an automated email from the ASF dual-hosted git repository.

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new 41a4d03  Fix some typo in help docs
41a4d03 is described below

commit 41a4d03f72f842dfb5450242739498d49a6526e2
Author: Yingchun Lai <ac...@gmail.com>
AuthorDate: Tue Dec 14 23:28:21 2021 +0800

    Fix some typo in help docs
    
    Change-Id: I2207c5241c3b87bfa85302f8bfefd89effc28192
    Reviewed-on: http://gerrit.cloudera.org:8080/18100
    Tested-by: Alexey Serbin <as...@cloudera.com>
    Reviewed-by: Alexey Serbin <as...@cloudera.com>
---
 src/kudu/common/table_util.cc                    | 2 +-
 src/kudu/master/hms_notification_log_listener.cc | 2 +-
 src/kudu/tools/tool_action_master.cc             | 2 +-
 src/kudu/tools/tool_action_table.cc              | 2 +-
 src/kudu/tserver/ts_tablet_manager.cc            | 4 ++--
 src/kudu/util/block_cache_metrics.cc             | 4 ++--
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/kudu/common/table_util.cc b/src/kudu/common/table_util.cc
index 0ae0821..14ecf37 100644
--- a/src/kudu/common/table_util.cc
+++ b/src/kudu/common/table_util.cc
@@ -31,7 +31,7 @@ DEFINE_string(ranger_default_database, "default",
               "authorization context when the database name is not specified "
               "in the table name. Ranger makes no difference between "
               "<ranger_default_database>.<table> and <table>, so privileges "
-              "granted on <table> in <ranger_default_database> are applied to"
+              "granted on <table> in <ranger_default_database> are applied to "
               "both <ranger_default_database>.<table> and <table> in Kudu.");
 
 using std::string;
diff --git a/src/kudu/master/hms_notification_log_listener.cc b/src/kudu/master/hms_notification_log_listener.cc
index b586ad9..e2a9400 100644
--- a/src/kudu/master/hms_notification_log_listener.cc
+++ b/src/kudu/master/hms_notification_log_listener.cc
@@ -61,7 +61,7 @@ TAG_FLAG(hive_metastore_notification_log_batch_size, advanced);
 TAG_FLAG(hive_metastore_notification_log_batch_size, runtime);
 
 DEFINE_uint32(hive_metastore_notification_log_poll_inject_latency_ms, 0,
-              "Inject latency into the inner polling loop of the Hive Metastore"
+              "Inject latency into the inner polling loop of the Hive Metastore "
               "notification log listener. Only takes effect during unit tests.");
 TAG_FLAG(hive_metastore_notification_log_poll_inject_latency_ms, hidden);
 TAG_FLAG(hive_metastore_notification_log_poll_inject_latency_ms, unsafe);
diff --git a/src/kudu/tools/tool_action_master.cc b/src/kudu/tools/tool_action_master.cc
index a04e152..919b1c6 100644
--- a/src/kudu/tools/tool_action_master.cc
+++ b/src/kudu/tools/tool_action_master.cc
@@ -854,7 +854,7 @@ unique_ptr<Mode> BuildMasterMode() {
             "columns",
             string("uuid,rpc-addresses,role"),
             string("Comma-separated list of master info fields to "
-                   "include in output.\nPossible values: uuid, cluster_id"
+                   "include in output.\nPossible values: uuid, cluster_id, "
                    "rpc-addresses, http-addresses, version, seqno, "
                    "start_time, role and member_type"))
         .AddOptionalParameter("format")
diff --git a/src/kudu/tools/tool_action_table.cc b/src/kudu/tools/tool_action_table.cc
index 3adab58..f85ff67 100644
--- a/src/kudu/tools/tool_action_table.cc
+++ b/src/kudu/tools/tool_action_table.cc
@@ -848,7 +848,7 @@ Status ParseValueOfType(const string& default_value,
     case KuduColumnSchema::DataType::DECIMAL:
     default:
       return Status::NotSupported(Substitute(
-        "$0 columns are not supported for setting default value by this tool,"
+        "$0 columns are not supported for setting default value by this tool, "
         "is this tool out of date?",
         KuduColumnSchema::DataTypeToString(type)));
   }
diff --git a/src/kudu/tserver/ts_tablet_manager.cc b/src/kudu/tserver/ts_tablet_manager.cc
index 3d16de4..829f45c 100644
--- a/src/kudu/tserver/ts_tablet_manager.cc
+++ b/src/kudu/tserver/ts_tablet_manager.cc
@@ -153,7 +153,7 @@ DEFINE_int32(delete_tablet_inject_latency_ms, 0,
 TAG_FLAG(delete_tablet_inject_latency_ms, unsafe);
 
 DEFINE_int32(update_tablet_stats_interval_ms, 5000,
-             "Interval at which the tablet statistics should be updated."
+             "Interval at which the tablet statistics should be updated. "
              "Should be greater than 'heartbeat_interval_ms'");
 TAG_FLAG(update_tablet_stats_interval_ms, advanced);
 
@@ -185,7 +185,7 @@ TAG_FLAG(txn_participant_registration_inject_latency_ms, runtime);
 TAG_FLAG(txn_participant_registration_inject_latency_ms, unsafe);
 
 DEFINE_bool(tablet_bootstrap_skip_opening_tablet_for_testing, false,
-            "Whether to skip opening tablet when bootstrap."
+            "Whether to skip opening tablet when bootstrap. "
             "Only for testing.");
 TAG_FLAG(tablet_bootstrap_skip_opening_tablet_for_testing, hidden);
 
diff --git a/src/kudu/util/block_cache_metrics.cc b/src/kudu/util/block_cache_metrics.cc
index 83529d7..a07de11 100644
--- a/src/kudu/util/block_cache_metrics.cc
+++ b/src/kudu/util/block_cache_metrics.cc
@@ -37,7 +37,7 @@ METRIC_DEFINE_counter(server, block_cache_misses,
                       kudu::MetricLevel::kDebug);
 METRIC_DEFINE_counter(server, block_cache_misses_caching,
                       "Block Cache Misses (Caching)", kudu::MetricUnit::kBlocks,
-                      "Number of lookups that were expecting a block that didn't yield one."
+                      "Number of lookups that were expecting a block that didn't yield one. "
                       "Use this number instead of cache_misses when trying to determine how "
                       "efficient the cache is",
                       kudu::MetricLevel::kDebug);
@@ -47,7 +47,7 @@ METRIC_DEFINE_counter(server, block_cache_hits,
                       kudu::MetricLevel::kDebug);
 METRIC_DEFINE_counter(server, block_cache_hits_caching,
                       "Block Cache Hits (Caching)", kudu::MetricUnit::kBlocks,
-                      "Number of lookups that were expecting a block that found one."
+                      "Number of lookups that were expecting a block that found one. "
                       "Use this number instead of cache_hits when trying to determine how "
                       "efficient the cache is",
                       kudu::MetricLevel::kDebug);