Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

10/31/2017

Reading time:N/A min

Cassandra Opstools

by John Doe

Generic tools and scripts to help operating Cassandra clusterspcassandra-abortrepairs:Stops ongoing anti-entropy sessions on the local Cassandra hostspcassandra-autobalance:Automatically redistributes the tokens in a cluster so they are evenlydistributed. Tries to move as few tokens as possible to achieve this.In a multi-DC setup, all datacenters must have the same number of nodes.Only useful when not using vnodes.spcassandra-dsnitch:Outputs the score the Cassandra snitch has for every peer.spcassandra-generate-repairs:Generates "nodetool repair" commands that repairs an entire clusterwith small token ranges.spcassandra-repairstats:Scans the Cassandra system log and displays readable statisticsof finished and running repairs.spcassandra-tombstones:Scans a sstable and prints number of tombstones for each partition.spcassandra-truncate[all]hints:Truncates (all) hints on localhost toward the specified hosts.

Illustration Image

Generic tools and scripts to help operating Cassandra cluster

spcassandra-abortrepairs: Stops ongoing anti-entropy sessions on the local Cassandra host

spcassandra-autobalance: Automatically redistributes the tokens in a cluster so they are evenly distributed. Tries to move as few tokens as possible to achieve this. In a multi-DC setup, all datacenters must have the same number of nodes. Only useful when not using vnodes.

spcassandra-dsnitch: Outputs the score the Cassandra snitch has for every peer.

spcassandra-generate-repairs: Generates "nodetool repair" commands that repairs an entire cluster with small token ranges.

spcassandra-repairstats: Scans the Cassandra system log and displays readable statistics of finished and running repairs.

spcassandra-tombstones: Scans a sstable and prints number of tombstones for each partition.

spcassandra-truncate[all]hints: Truncates (all) hints on localhost toward the specified hosts.

Related Articles

cassandra
tools
admin-monitor

Upgrading a Large Cassandra Cluster with cstar | Official Pythian® Blog

Valerie Parham-Thompson

1/27/2021

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

admin-monitor