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

Cassandra snapshot using nodetool

I am trying to take snapshot of my cassandra keyspace using nodetool. When executing nodetool snapshot, I am getting the following error. nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused'. After specifying…
1
vote
1 answer

Cassandra nodetool removenode hangs

I was trying to remove a dead node from one of cassandra(version 2.1.6) seed node's using ( I only ran from one seed node) . /nodetool removenode NodeID But it hangs for too long , /nodetool removenode status RemovalStatus: Removing token…
Rahul Koshaley
  • 201
  • 1
  • 5
  • 20
1
vote
1 answer

Nodetool getsstable for composite partition key

I've a table as following in keyspace test - CREATE TABLE mytable ( firstname text, lastname text, address text, phone text, PRIMARY KEY (firstname,lastname,address) ) I've inserted a record insert into…
1
vote
2 answers

Get Cassandra node state for bash script

I need to get Cassandra node status in some variable for further using it in bash script. How to make thst in most efficient way? I know that I can get status from # nodetool status Datacenter: DC1 =============== Status=Up/Down |/…
ipeacocks
  • 2,187
  • 3
  • 32
  • 47
1
vote
0 answers

Cygwin, Cassandra: Run nodetool with space in path

Currently using Cassandra 2.1.9 in Windows 7. I'm trying to use nodetool in Cygwin but getting below message: /cygdrive/c/Program Files/DataStax Community/apache-cassandra/bin $ ./nodetool Error occurred during initialization of VM agent library…
Vikram
  • 347
  • 1
  • 3
  • 8
1
vote
1 answer

How to configure Apache Cassandra 4-Node Cluster with cassandra.yaml correctly?

So i got 4 Raspberry-Pis with Apache Cassandra on them. Static IP for each and some other configurations are already done. Each Pi can see the other 3 on the network. The IP adresses are: 1. Pi01 - 192.168.178.51 2. Pi02 - 192.168.178.52 3. Pi03…
1
vote
2 answers

Can't run nodetool on my vagrant virtual cassandra cluster

Basically I'm trying to run a simple two node virtual cassandra cluster to experiment with. I'm trying to set it up so all I need to do is run vagrant up and have cassandra up and running. I've managed to get the actual cluster working (I know this…
vicg
  • 1,280
  • 14
  • 32
1
vote
1 answer

Nodetool behavior

I have configured only three nodes, however nodetool sees one more on 10.0.0.200 IP. So, from where nodetool gets the information about this node? How can I safely remove this node and split the information between 3. > /usr/bin/cassandra/nodetool…
sliddy
  • 135
  • 1
  • 12
1
vote
2 answers

New cassandra cluster using vnodes shows unbalanced ring

Just now i created a 3 node cassandra cluster on my local machines using vagrant, running cassandra 2.0.13 following is my cassandra.yaml config for each node node0 cluster_name: 'MyCassandraCluster' num_tokens: 256 seed_provider: - class_name:…
1
vote
2 answers

Cassandra deploy cluster failure

I am trying to deploy Cassandra cluster on AWS. I followed instructions on http://datastax.com/documentation/cassandra/2.1/cassandra/install/installAMI.html It looks everything is okay, but one node still getting 0 response. After initial script I…
32cupo
  • 850
  • 5
  • 18
  • 36
1
vote
0 answers

Too many SSTables are created after running nodetool repair and the SStable is not compacting

I have 4 node in a data center with a replication factor 3. While running nodetool repair in a node too many SSTables are generated but the file size is very less (around 4KB). This issues had been reported earlier by someone else in the link given…
1
vote
2 answers

Cassandra manual major compaction changes frequency of minor compactions

I am a little unclear about the following lines from the Datastax page on tuning cassandra compactions. Specifically they mention: "Administrators can also initiate a major compaction through nodetool compact, which merges all SSTables into one.…
Rohit
  • 523
  • 2
  • 6
  • 25
1
vote
3 answers

Datastax Solr nodes: Nodetool repair stuck

We have two data centers (DC1 in europe, DC2 in north america) of DatastaxEnterprise Solr cluster (version 4.5) on CentOs: DC1: 2 nodes with rf set to 2 DC2: 1 nodes with rf set to 1 Every node has 2 cores and 4gb of RAM. We created only one…
Enrico
  • 11
  • 3
1
vote
1 answer

Whether Cassandra Cleanup removes old data from existing cluster

I have a 5 node cassandra cluster with 9 TB of data and planning to add 5 more nodes to the cluster. After adding new nodes load balancing will start and a subrange of partition keys will be mapped to new nodes. When exactly I should give nodetool…
venkat sam
  • 158
  • 1
  • 12
1
vote
1 answer

What does different fields of nodetool cfstats mean?

When I am using below command. nodetool -h localhost -p 7199 cfstats demodb I came up with the following results. I cant get upto any conclusion from the following results. I could not decide whether my two node clustered Cassandra is performing…