Command Line Client has Memtable thresholds: (millions of ops/minutes/MB) last 
two parameters reversed
------------------------------------------------------------------------------------------------------

                 Key: CASSANDRA-2599
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2599
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.7.5
         Environment: All
            Reporter: Joe Siegrist
            Priority: Minor


Here's a patch

Index: src/java/org/apache/cassandra/cli/CliClient.java
===================================================================
--- src/java/org/apache/cassandra/cli/CliClient.java    (revision 1099262)
+++ src/java/org/apache/cassandra/cli/CliClient.java    (working copy)
@@ -1325,7 +1325,7 @@
                 sessionState.out.printf("      Row cache size / save period in 
seconds: %s/%s%n", cf_def.row_cache_size, 
cf_def.row_cache_save_period_in_seconds);
                 sessionState.out.printf("      Key cache size / save period in 
seconds: %s/%s%n", cf_def.key_cache_size, 
cf_def.key_cache_save_period_in_seconds);
                 sessionState.out.printf("      Memtable thresholds: %s/%s/%s 
(millions of ops/minutes/MB)%n",
-                                cf_def.memtable_operations_in_millions, 
cf_def.memtable_throughput_in_mb, cf_def.memtable_flush_after_mins);
+                                cf_def.memtable_operations_in_millions, 
cf_def.memtable_flush_after_mins, cf_def.memtable_throughput_in_mb);
                 sessionState.out.printf("      GC grace seconds: %s%n", 
cf_def.gc_grace_seconds);
                 sessionState.out.printf("      Compaction min/max thresholds: 
%s/%s%n", cf_def.min_compaction_threshold, cf_def.max_compaction_threshold);
                 sessionState.out.printf("      Read repair chance: %s%n", 
cf_def.read_repair_chance);


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to