You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by yu...@apache.org on 2016/08/05 02:05:28 UTC

[1/3] cassandra git commit: Fix nodetool tablestats miss SSTable count

Repository: cassandra
Updated Branches:
  refs/heads/cassandra-3.9 2e0ace7bc -> c9df18c2e
  refs/heads/trunk 3472cf06c -> c49bc639f


Fix nodetool tablestats miss SSTable count

patch by  Edward Ribeiro; reviewed by yukim for CASSANDRA-12205


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

Branch: refs/heads/cassandra-3.9
Commit: c9df18c2e2470d42a818c447b6fc9b23af8935be
Parents: 2e0ace7
Author: Edward Ribeiro <ed...@gmail.com>
Authored: Thu Aug 4 21:00:39 2016 -0500
Committer: Yuki Morishita <yu...@apache.org>
Committed: Thu Aug 4 21:01:45 2016 -0500

----------------------------------------------------------------------
 CHANGES.txt                                                         | 1 +
 .../apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java    | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c9df18c2/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index dd04ddf..bcfbdc9 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 3.9
+ * Fix nodetool tablestats miss SSTable count (CASSANDRA-12205)
  * Fixed flacky SSTablesIteratedTest (CASSANDRA-12282)
  * Fixed flacky SSTableRewriterTest: check file counts before calling validateCFS (CASSANDRA-12348)
  * cqlsh: Fix handling of $$-escaped strings (CASSANDRA-12189)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/c9df18c2/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java b/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
index a6da189..f712487 100644
--- a/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
+++ b/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
@@ -75,6 +75,7 @@ public enum TableStatsPrinter
                 for (StatsTable table : tables)
                 {
                     out.println("\t\tTable" + (table.isIndex ? " (index): " + table.name : ": ") + table.name);
+                    out.println("\t\tSSTable count: " + table.sstableCount);
                     if (table.isLeveledSstable)
                         out.println("\t\tSSTables in each level: [" + String.join(", ",
                                                                                   table.sstablesInEachLevel) + "]");


[3/3] cassandra git commit: Merge branch 'cassandra-3.9' into trunk

Posted by yu...@apache.org.
Merge branch 'cassandra-3.9' into trunk


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

Branch: refs/heads/trunk
Commit: c49bc639f46131baca3ceda74170a97cfca3105c
Parents: 3472cf0 c9df18c
Author: Yuki Morishita <yu...@apache.org>
Authored: Thu Aug 4 21:01:50 2016 -0500
Committer: Yuki Morishita <yu...@apache.org>
Committed: Thu Aug 4 21:01:50 2016 -0500

----------------------------------------------------------------------
 CHANGES.txt                                                         | 1 +
 .../apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java    | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c49bc639/CHANGES.txt
----------------------------------------------------------------------
diff --cc CHANGES.txt
index c7063d9,bcfbdc9..db2e221
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,36 -1,5 +1,37 @@@
 +3.10
 + * Allow updating DynamicEndpointSnitch properties via JMX (CASSANDRA-12179)
 + * Collect metrics on queries by consistency level (CASSANDRA-7384)
 + * Add support for GROUP BY to SELECT statement (CASSANDRA-10707)
 + * Deprecate memtable_cleanup_threshold and update default for memtable_flush_writers (CASSANDRA-12228)
 + * Upgrade to OHC 0.4.4 (CASSANDRA-12133)
 + * Add version command to cassandra-stress (CASSANDRA-12258)
 + * Create compaction-stress tool (CASSANDRA-11844)
 + * Garbage-collecting compaction operation and schema option (CASSANDRA-7019)
 + * Add schema to snapshot manifest, add USING TIMESTAMP clause to ALTER TABLE statements (CASSANDRA-7190)
 + * Add beta protocol flag for v5 native protocol (CASSANDRA-12142)
 + * Support filtering on non-PRIMARY KEY columns in the CREATE
 +   MATERIALIZED VIEW statement's WHERE clause (CASSANDRA-10368)
 + * Unify STDOUT and SYSTEMLOG logback format (CASSANDRA-12004)
 + * COPY FROM should raise error for non-existing input files (CASSANDRA-12174)
 + * Faster write path (CASSANDRA-12269)
 + * Option to leave omitted columns in INSERT JSON unset (CASSANDRA-11424)
 + * Support json/yaml output in nodetool tpstats (CASSANDRA-12035)
 + * Expose metrics for successful/failed authentication attempts (CASSANDRA-10635)
 + * Prepend snapshot name with "truncated" or "dropped" when a snapshot
 +   is taken before truncating or dropping a table (CASSANDRA-12178)
 + * Optimize RestrictionSet (CASSANDRA-12153)
 + * cqlsh does not automatically downgrade CQL version (CASSANDRA-12150)
 + * Omit (de)serialization of state variable in UDAs (CASSANDRA-9613)
 + * Create a system table to expose prepared statements (CASSANDRA-8831)
 + * Reuse DataOutputBuffer from ColumnIndex (CASSANDRA-11970)
 + * Remove DatabaseDescriptor dependency from SegmentedFile (CASSANDRA-11580)
 + * Add supplied username to authentication error messages (CASSANDRA-12076)
 + * Remove pre-startup check for open JMX port (CASSANDRA-12074)
 + * Remove compaction Severity from DynamicEndpointSnitch (CASSANDRA-11738)
 +
 +
  3.9
+  * Fix nodetool tablestats miss SSTable count (CASSANDRA-12205)
   * Fixed flacky SSTablesIteratedTest (CASSANDRA-12282)
   * Fixed flacky SSTableRewriterTest: check file counts before calling validateCFS (CASSANDRA-12348)
   * cqlsh: Fix handling of $$-escaped strings (CASSANDRA-12189)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/c49bc639/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
----------------------------------------------------------------------


[2/3] cassandra git commit: Fix nodetool tablestats miss SSTable count

Posted by yu...@apache.org.
Fix nodetool tablestats miss SSTable count

patch by  Edward Ribeiro; reviewed by yukim for CASSANDRA-12205


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

Branch: refs/heads/trunk
Commit: c9df18c2e2470d42a818c447b6fc9b23af8935be
Parents: 2e0ace7
Author: Edward Ribeiro <ed...@gmail.com>
Authored: Thu Aug 4 21:00:39 2016 -0500
Committer: Yuki Morishita <yu...@apache.org>
Committed: Thu Aug 4 21:01:45 2016 -0500

----------------------------------------------------------------------
 CHANGES.txt                                                         | 1 +
 .../apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java    | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c9df18c2/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index dd04ddf..bcfbdc9 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 3.9
+ * Fix nodetool tablestats miss SSTable count (CASSANDRA-12205)
  * Fixed flacky SSTablesIteratedTest (CASSANDRA-12282)
  * Fixed flacky SSTableRewriterTest: check file counts before calling validateCFS (CASSANDRA-12348)
  * cqlsh: Fix handling of $$-escaped strings (CASSANDRA-12189)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/c9df18c2/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java b/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
index a6da189..f712487 100644
--- a/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
+++ b/src/java/org/apache/cassandra/tools/nodetool/stats/TableStatsPrinter.java
@@ -75,6 +75,7 @@ public enum TableStatsPrinter
                 for (StatsTable table : tables)
                 {
                     out.println("\t\tTable" + (table.isIndex ? " (index): " + table.name : ": ") + table.name);
+                    out.println("\t\tSSTable count: " + table.sstableCount);
                     if (table.isLeveledSstable)
                         out.println("\t\tSSTables in each level: [" + String.join(", ",
                                                                                   table.sstablesInEachLevel) + "]");