Created
July 7, 2011 03:28
-
-
Save amorton/1068855 to your computer and use it in GitHub Desktop.
Logging Cassandra column pages for slice by Name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/java/org/apache/cassandra/db/columniterator/SSTableNamesIterator.java b/src/java/org/apache/cassandra/db/columniterator/SSTableNamesIterator.java | |
index 6cbc64b..014ce2c 100644 | |
--- a/src/java/org/apache/cassandra/db/columniterator/SSTableNamesIterator.java | |
+++ b/src/java/org/apache/cassandra/db/columniterator/SSTableNamesIterator.java | |
@@ -184,6 +184,7 @@ public class SSTableNamesIterator extends SimpleAbstractColumnIterator implement | |
} | |
} | |
} | |
+ logger.info("Column Page Count {}/{}", Integer.toString(indexList.size()), Integer.toString(ranges.size())); | |
} | |
public DecoratedKey getKey() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Outputs messages such as
INFO 13:37:21,841 Column Page Count 7628/70
When reading an SSTable to say how many column index entries the row has, and how many were used when searing for columns.