Questions tagged [nodetool]

Command line tool for managing Cassandra clusters.

nodetool is a command that allows you to interact with a Cassandra cluster to manage it. You can use it to see the current status of nodes in the cluster, repair nodes, decommission nodes, and perform other maintenance tasks.

http://wiki.apache.org/cassandra/NodeTool

229 questions
3
votes
2 answers

Is it recommended to do periodic cassandra repair

We recently had a disk fail in one of our Cassandra node (its a 5 Cassandra 2.2 cluster with replication factor of 3). It took about a week or more to perform a full repair on that node. Each node contains 3/5 of the data and doing nodetool repair…
Danish Shrestha
  • 487
  • 5
  • 16
3
votes
1 answer

Cassandra nodetool decommission

I wish to decommission a cassandra node as that node needs a OS upgrade. I login to that node. Execute the decommission command and after few minutes i get this exception on console nodetool decommission error: Stream failed -- StackTrace…
3
votes
1 answer

Disk space not changed after massive data removal from Cassandra db with compaction and repair

We have a Cassandra cluster (2.1.11) with 15 nodes, replication factor 3 on SSD drives. One of the table occupies 12 TB. Both live disk space and total disk space are equivalent. I also verified this number is the same on Ops center, JMX reports,…
3
votes
1 answer

How to get the compaction strategy of C* cluster?

In the documentation it says that the SizeTieredCompactionStrategy (STCS) is the default compaction strategy. How can I get the actual compaction strategy of my cluster?
user2552806
3
votes
1 answer

What is the purpose of manifest.json in a Cassandra snaphot?

When a snapshot is made a manifest.json is created, what is the purpose of this file? I would have thought it contained a list of all files in the snapshot, which are: 2014-11-11 17:36:51 43 keyspace-cf-ka-1-CompressionInfo.db 2014-11-11…
James Tyrrell
  • 363
  • 3
  • 10
3
votes
0 answers

Cassandra CQL: different SELECT results

I am using latest Cassandra 2.1.0 and have the different results for the following queries. select * from zzz.contact where user_id = 53528c87-0691-46f7-81a1-77173fd8390f and contact_id =…
walv
  • 2,680
  • 3
  • 31
  • 36
3
votes
1 answer

Completely unbalanced DC after bootstrapping new node

I've just added a new node new into my Cassandra DC. Previously, my topology is as follows: DC Cassandra: 1 node DC Solr: 5 nodes When I bootstrapped a 2nd node for the Cassandra DC, I noticed that the total bytes to be streamed is almost as big…
PJ.
  • 1,196
  • 2
  • 12
  • 25
3
votes
2 answers

Decommission cassandra node times out with "received only 0 responses"

When I try to decommission a node in my Cassandra cluster, the process starts (I see active streams flowing from the node to decommission to the other nodes in the cluster (using vnodes)), but then after a little delay nodetool decommission exists…
Gordon Seidoh Worley
  • 7,839
  • 6
  • 45
  • 82
3
votes
1 answer

Cassandra: Removing a node

I would like to remove a node from my Cassandra cluster and am following these two related questions (here and here) and the Cassandra document. But I am still not quite sure the exact process. My first question is: Is the following way to remove a…
keelar
  • 5,814
  • 7
  • 40
  • 79
2
votes
0 answers

cassandra nodetool listsnapshots failed with java.io.NotSerializableException

Cassandra 4.0 is installed in Azure Kubernetes ubuntu 18.04.1 with 3 nodes and RF=3. Node repair is running by reaper 3.0.0. At the same time, run "nodetool listsnapshots" failed with the exceptions. What could be the reason? $ nodetool…
hyl
  • 21
  • 1
2
votes
1 answer

Is it safe to copy cassandra snapshot files over sstable files in a running node?

Edited after reading nodetool tagged questions. We take snapshots of our single node cassandra database daily. If I want to restore a snapshot either on that node, or on our staging server which is running a different instance of cassandra, my…
2
votes
1 answer

takeSnapshot java.lang.NoSuchMethodException for Cassandra snapshot using nodetool

I am trying to get a snapshot of a cassandra database using the nodetool snapshot tool running on a docker container. More precisely I use the following command nodetool -h cassandra -p 9999 snapshot where cassandra is defined on hosts file. This…
Ilone
  • 21
  • 1
2
votes
1 answer

Cassandra global snapshot

I am running a cluster with 3 nodes(EC2 instances) and replication factor=2. I execute a script from the first node which runs nodetool snapshot on all the nodes using pssh (parallel-ssh) utility. But the snapshot data for each node gets stored on…
aryan
  • 133
  • 2
  • 8
2
votes
1 answer

increased disk space usage after nodetool cleanup - Apache Cassandra

We have an Apache Cassandra (version 3.11.4) cluster in production with 5-5 nodes in two DCs. We've just added the last two nodes recently and after the repairs has finished, we started the cleanup 2 days ago. The nodes are quite huge, /data has…
wecesjoska
  • 77
  • 7
2
votes
1 answer

Repair command #6 failed with error Nothing to repair for (1838038121817533879,1854751957995458118] in xyz - aborting

Node tool repair command is failing to repair form some of tables . Cassandra version is 3.11.6 version . I have following queries : Is this really a problem . what is the impact if we ignore this error ? How can we get rid of this token range for…
vinod
  • 33
  • 6