Re: `nodetool cfhistogram` utility script

2014-12-12 Thread Matt Brown
You can also collect these stats from the server via JMX, I believe the name of the MBean object is org.apache.cassandra.metrics:type=ColumnFamily,keyspace=,scope=,name=SSTablesPerReadHistogram where KEYSPACE is your keyspace and SCOPE is Read or Write. This has attributes for 50thPercentile, 7

Re: Using Cassandra for session tokens

2014-12-01 Thread Matt Brown
This sounds like a good use case for http://www.datastax.com/dev/blog/datetieredcompactionstrategy > On Dec 1, 2014, at 3:07 AM, Phil Wise wrote: > > We're considering switching from using Redis to Cassandra to store > short live

Re: Use of line number and file name in default cassandra logging configuration

2014-11-26 Thread Matt Brown
I created https://issues.apache.org/jira/browse/CASSANDRA-8379 <https://issues.apache.org/jira/browse/CASSANDRA-8379> and attached patches against trunk and the cassandra-2.0 branch. > On Nov 26, 2014, at 2:05 PM, Robert Coli wrote: > > On Wed, Nov 26, 2014 at 10:39 AM, Matt B

Use of line number and file name in default cassandra logging configuration

2014-11-26 Thread Matt Brown
In the logging configuration that ships with the cassandra distribution (log4j-server.properties in 2.0, and logback.xml in 2.1), the rolling file appender is configured to print the file name and the line number of each logging event: log4j.appender.R.layout.ConversionPattern=%5p [%t] %d{I