O'Reilly logo

Apache Cassandra Essentials by Nitin Padalia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Cassandra servers prior to version 2.1 used Log4j for logging purposes; however, from version 2.1 onwards, they use the Logback library. Cassandra logs its various activities in the system.log file. Logging configuration can be adjusted as per our requirements using the log4j-server.properties or logback.xml file based on the Cassandra server version you're using. The nodetool cfstats command provides statistics of a column family, such as memtable uses, SSTable count, and Bloom filter usage. Read/write latencies for a column family can be tracked using the nodetool cfhistogram utility. The cfhistograms command gives distribution data about latencies, partition sizes, and SSTable count. Bloom filter accuracy can be adjusted to suit our ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required