cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1025837 - /cassandra/trunk/src/java/org/apache/cassandra/cli/CliClient.java
Date Thu, 21 Oct 2010 05:57:36 GMT
Author: jbellis
Date: Thu Oct 21 05:57:36 2010
New Revision: 1025837

URL: http://svn.apache.org/viewvc?rev=1025837&view=rev
Log:
add the rest of cf_def to cli 'show keyspaces'.  patch by jbellis

Modified:
    cassandra/trunk/src/java/org/apache/cassandra/cli/CliClient.java

Modified: cassandra/trunk/src/java/org/apache/cassandra/cli/CliClient.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/src/java/org/apache/cassandra/cli/CliClient.java?rev=1025837&r1=1025836&r2=1025837&view=diff
==============================================================================
--- cassandra/trunk/src/java/org/apache/cassandra/cli/CliClient.java (original)
+++ cassandra/trunk/src/java/org/apache/cassandra/cli/CliClient.java Thu Oct 21 05:57:36 2010
@@ -1430,8 +1430,15 @@ public class CliClient 
             for (CfDef cf_def : ks_def.cf_defs)
             {
                 css_.out.println("    Column Family Name: " + cf_def.name);
+                if (cf_def.comment != null)
+                    css_.out.printf("    \"%s\"\n", cf_def.comment);
                 css_.out.println("      Column Family Type: " + cf_def.column_type);
-                css_.out.println("      Column Sorted By: " + cf_def.comparator_type);
+                css_.out.printf("      Row cache size / save period: %s/%s\n", cf_def.row_cache_size,
cf_def.row_cache_save_period_in_seconds);
+                css_.out.printf("      Key cache size / save period: %s/%s\n", cf_def.key_cache_size,
cf_def.key_cache_save_period_in_seconds);
+                css_.out.printf("      Memtable thresholds: %s/%s/%s\n",
+                                cf_def.memtable_operations_in_millions, cf_def.memtable_throughput_in_mb,
cf_def.memtable_flush_after_mins);
+                css_.out.printf("      GC grace seconds: %s\n", cf_def.gc_grace_seconds);
+                css_.out.printf("      Compaction min/max thresholds: %s/%s\n", cf_def.min_compaction_threshold,
cf_def.max_compaction_threshold);
 
                 if (cf_def.getColumn_metadataSize() != 0)
                 {



Mime
View raw message