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
1
vote
1 answer

Is nodetool cleanup necessary on nodes of different data center when new node is added

I plan to have a multi data center Cassandra 2 setup with 2-4 nodes per data center and several 10s of data centers. We have keyspaces replicated on a certain number of nodes on each data center. We have a vnode based deployment. So tokens should…
vishr
  • 985
  • 10
  • 28
1
vote
1 answer

Cassandra nodetool status not the same output as gossipinfo

I've added one node to a Cassandra cluster of 5 and the new node joined without any errors . However, if I enter nodetool status on the same node, 2 nodes of the cluster are missing: cassandra@cassandra-n8:~$ nodetool status Datacenter:…
user3735572
  • 33
  • 2
  • 6
1
vote
1 answer

Cassandra 1.2.x to 2.x data center rebuild

I'm trying to upgrade from Cassandra 1.2.x to 2.x. The way I normally do upgrades is by bringing up a new data center (this is on EC2, so not much of an issue) and using nodetool rebuild to move the data over to the new data center. Then switch apps…
Gordon Seidoh Worley
  • 7,839
  • 6
  • 45
  • 82
1
vote
1 answer

Cassandra keyspace clone within a cluster

I've managed to clone a keyspace on a single node test machine by using the snapshot feature of the nodetool. By clone, I mean same keyspace data with a different name: original: Keyspace1, new: Keyspace2. If I do the same procedure one a single…
Vlad Balmos
  • 3,372
  • 19
  • 34
1
vote
0 answers

DSE OpsCenter showing wrong node status

I've come across several occurrences already when one or two of our DSE Search nodes would be shown with "Down - Unresponsive" status in OpsCenter even though the node is up (i.e. I can access the Solr admin UI). Sometimes, nodetool status would…
PJ.
  • 1,196
  • 2
  • 12
  • 25
1
vote
1 answer

SStable count in Nodetool cfstats

I recently started adding some data into cassandra for performance testing and also looking at the nodetool cfstats and the sstable count is still 0 even after inserting a lot of data. Even the space used live and total are still 0. Am I missing…
Shrikar
  • 840
  • 1
  • 8
  • 30
1
vote
3 answers

Enabling vNodes in Cassandra 1.2.8

I have a 4 node cluster and I have upgraded all the nodes from an older version to Cassandra 1.2.8. Total data present in the cluster is of size 8 GB. Now I need to enable vNodes on all the 4 nodes of cluster without any downtime. How can I do that?
anuja Mandlecha
  • 115
  • 1
  • 9
1
vote
1 answer

Cassandra 1.1.10 streaming hangs on rebuild

I'm doing little experiment with a couple of Cassandra servers. The thing is that I want to add a new datacenter to an existing cluster. Using 1.1.10 version and following this…
1
vote
1 answer

Knowing which real node is up in a Cassandra cluster under virtual node setting

Virtual node is a powerful setting in Cassandra which ease the burden of assigning proper initial token for each node, but sometimes I found it is a pain when reading its output of nodetool ring where each node is described by tons of lines. For…
keelar
  • 5,814
  • 7
  • 40
  • 79
1
vote
1 answer

cassandra 1.2 nodetool getting 'Failed to connect' when trying to connect to remote node

I am running a 6 node cluster of cassandra 1.2 on an Amazon Web Service VPC with Oracle's 64-bit JVM version 1.7.0_10. When I'm logged on to one of the nodes (ex. 10.0.12.200) I can run nodetool -h 10.0.12.200 status just fine. However, if I try to…
jspyeatt
  • 519
  • 2
  • 6
  • 18
0
votes
0 answers

Why does space grow after nodetool compact?

Why does space grow after nodetool compact? Start Finish Size before COMPACT (mb) Size after COMPACT (mb) 16.06.2023 21:00:06 17.06.2023 00:53:56 1 381 270 1 605 130 17.06.2023 00:53:57 17.06.2023 04:47:46 1 381 250 1 589 390 17.06.2023 04:47:46…
Dennis
  • 23
  • 4
0
votes
1 answer

How does nodetool garbagecollect work on multiple data folders?

How nodetool garbagecollect removes the shadowed data from the SStable of data0 folder when the tombstone is present in the SStable of data1 folder.
Rohit Thakur
  • 244
  • 2
  • 12
0
votes
0 answers

Getting nodetool cfstats output to a table

I'm facing an issue when trying to visualize the output of nodetool cfstats as a table. My command is as follows nodetool cfstats telemetry -H | awk -F ' *: *' ' BEGIN { print "Keyspace,Table,Mean,Live,Total" } /^Keyspace : / { ks = $2 } /\tTable:/…
Panda153
  • 11
  • 3
0
votes
0 answers

Why is the load in nodetool status output much less than utilised disk space?

I have 3 node cluster and upon checking the nodetool status; Load is just less than 100 GB on all three nodes. The replication factor is two and percentage own is 65-70% for all three. However when I inspected the /data directory it is having…
0
votes
0 answers

Cassandra nodetool status taking too long when running through remote jmx

I have a cassandra cluster running on AWS EC2. It has 4 nodes, all the nodes have remote jmx enabled without any authentication and jmx port 7199 is open. From my local system, running nodetool -h status take ~9mins to complete. But all…
Shivendra
  • 556
  • 3
  • 15