cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yu...@apache.org
Subject [2/8] git commit: Fix unit for streaming throughput in nodetool
Date Thu, 02 Oct 2014 18:16:55 GMT
Fix unit for streaming throughput in nodetool

patch by Olve Sæther Hansen; reviewed by yukim for CASSANDRA-7375


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

Branch: refs/heads/cassandra-2.1
Commit: 9783777c2a257599a65bd0f058537b98d1512025
Parents: b93ca58
Author: Olve Sæther Hansen <olvesh@gmail.com>
Authored: Thu Oct 2 13:06:23 2014 -0500
Committer: Yuki Morishita <yukim@apache.org>
Committed: Thu Oct 2 13:07:39 2014 -0500

----------------------------------------------------------------------
 CHANGES.txt                                                | 1 +
 src/java/org/apache/cassandra/tools/NodeCmd.java           | 2 +-
 src/resources/org/apache/cassandra/tools/NodeToolHelp.yaml | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/9783777c/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index f3d5998..9914ad9 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -33,6 +33,7 @@
  * Fix NPE when table dropped during streaming (CASSANDRA-7946)
  * Fix wrong progress when streaming uncompressed (CASSANDRA-7878)
  * Fix possible infinite loop in creating repair range (CASSANDRA-7983)
+ * Fix unit in nodetool for streaming throughput (CASSANDRA-7375)
 Merged from 1.2:
  * Don't index tombstones (CASSANDRA-7828)
 

http://git-wip-us.apache.org/repos/asf/cassandra/blob/9783777c/src/java/org/apache/cassandra/tools/NodeCmd.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/NodeCmd.java b/src/java/org/apache/cassandra/tools/NodeCmd.java
index 4d9992f..27b50a7 100644
--- a/src/java/org/apache/cassandra/tools/NodeCmd.java
+++ b/src/java/org/apache/cassandra/tools/NodeCmd.java
@@ -811,7 +811,7 @@ public class NodeCmd
      */
     public void printStreamThroughput(PrintStream outs)
     {
-        outs.println("Current stream throughput: " + probe.getStreamThroughput() + " MB/s");
+        outs.println("Current stream throughput: " + probe.getStreamThroughput() + " Mb/s");
     }
 
     /**

http://git-wip-us.apache.org/repos/asf/cassandra/blob/9783777c/src/resources/org/apache/cassandra/tools/NodeToolHelp.yaml
----------------------------------------------------------------------
diff --git a/src/resources/org/apache/cassandra/tools/NodeToolHelp.yaml b/src/resources/org/apache/cassandra/tools/NodeToolHelp.yaml
index 416ef1a..fa2b39c 100644
--- a/src/resources/org/apache/cassandra/tools/NodeToolHelp.yaml
+++ b/src/resources/org/apache/cassandra/tools/NodeToolHelp.yaml
@@ -123,7 +123,7 @@ commands:
       Set the MB/s throughput cap for compaction in the system, or 0 to disable throttling.
   - name: setstreamthroughput  <value_in_mb>
     help: |
-      Set the MB/s throughput cap for streaming in the system, or 0 to disable throttling.
+      Set the Mb/s throughput cap for streaming in the system, or 0 to disable throttling.
   - name: describecluster
     help: |
       Print the name, snitch, partitioner and schema version of a cluster.
@@ -189,7 +189,7 @@ commands:
       Print the MB/s throughput cap for compaction in the system
   - name: getstreamthroughput
     help: |
-      Print the MB/s throughput cap for streaming in the system
+      Print the Mb/s throughput cap for streaming in the system
   - name: stop <compaction_type>
     help: |
       Supported types are COMPACTION, VALIDATION, CLEANUP, SCRUB, INDEX_BUILD


Mime
View raw message