You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by ad...@apache.org on 2019/11/07 16:55:07 UTC

[kudu] 01/02: Fix some typos in comment.

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

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

commit 0e41d5afed0c0ab99106339f1494beb44a2b6617
Author: triplesheep <tr...@gmail.com>
AuthorDate: Thu Nov 7 16:37:42 2019 +0800

    Fix some typos in comment.
    
    Change-Id: I852b18b2118264f20dd4b2894b0b56dc5e86ae46
    Reviewed-on: http://gerrit.cloudera.org:8080/14653
    Tested-by: Alexey Serbin <as...@cloudera.com>
    Reviewed-by: Alexey Serbin <as...@cloudera.com>
---
 src/kudu/integration-tests/create-table-itest.cc | 2 +-
 src/kudu/tools/rebalancer_tool.h                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/kudu/integration-tests/create-table-itest.cc b/src/kudu/integration-tests/create-table-itest.cc
index efcf2f5..c7b91f1 100644
--- a/src/kudu/integration-tests/create-table-itest.cc
+++ b/src/kudu/integration-tests/create-table-itest.cc
@@ -379,7 +379,7 @@ TEST_F(CreateTableITest, TestSpreadReplicasEvenlyWithDimension) {
     for (int ts_idx = 0; ts_idx < kNumServers; ts_idx++) {
       num_new_replicas[ts_idx] = inspect_->ListTabletsOnTS(ts_idx).size();
     }
-    // Add partition with 'label3' to 'test-table2'
+    // Add partition with 'label3' to 'test-table1'
     ASSERT_OK(alter_table_func(client_.get(), &client_schema, "test-table1", 100, 200, "label3"));
     for (int ts_idx = 0; ts_idx < kNumServers; ts_idx++) {
       int num_replicas = inspect_->ListTabletsOnTS(ts_idx).size();
diff --git a/src/kudu/tools/rebalancer_tool.h b/src/kudu/tools/rebalancer_tool.h
index 7747e67..ac7dbe3 100644
--- a/src/kudu/tools/rebalancer_tool.h
+++ b/src/kudu/tools/rebalancer_tool.h
@@ -157,7 +157,7 @@ class RebalancerTool : public rebalance::Rebalancer {
 
     bool UpdateMovesInProgressStatus(bool* has_errors, bool* timed_out) override;
 
-    // Get the cluter location the runner is slated to run/running at.
+    // Get the cluster location the runner is slated to run/running at.
     // 'boost::none' means all the cluster.
     virtual const boost::optional<std::string>& location() const = 0;