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

216 questions
0
votes
1 answer

Problems with connecting cassandra to elasticsearch node

I just start using Elassandra, as it accomplishes the requirements for my project. I am following the documentation and trying to indexing the database as it shows: http://elassandra.readthedocs.io/en/latest/operations.html#indexing The problem is…
isaura almar
  • 185
  • 2
  • 9
0
votes
0 answers

Cassandra Node communication issue

I have two node cluster on AWS. Everything was working fine until yesterday. Today I came across a problem when I run nodetool status then the following error appears. Node1 thinks Node2 is down and vice versa. From ip2 ip2$ nodetool…
Avinash
  • 1,739
  • 2
  • 19
  • 40
0
votes
1 answer

Is there a any method to find the seed node list in a Cassandra Cluster

Is it possible to find the seed node ip in a cluster using nodetool or cqlsh other than having to look into the cassandra.yaml configuration file?
0
votes
1 answer

Cassandra cluster is not recovering after restarting?

I restarted my Cassandra cluster and now after its restarts, it shows that other nodes are unavailable. But when I check by going to those servers, it shows that Cassandra is running in those. Your help is highly appreciate. nodetool repair -…
Cyclopes
  • 589
  • 3
  • 6
  • 25
0
votes
0 answers

Cassandra Nodetool TopPartitions error

I am trying to use the nodetool toppartitions command to find the top ten partitions over a period of time. However, I don't understand why I receive always this error: $ nodetool toppartitions ycsb usertable 100 nodetool: Argument value's index,…
Diego
  • 11
  • 2
0
votes
1 answer

Cassandra nodetool compact nothing happens

I wish to delete a large amount of rows from a particular table I did the following steps: 1) Set gc_grace_seconds = 0 for the table 2) Deleted a large number of rows ~1 million 3) Ran ./nodetool compact keyspace_name table_name However when I ran…
0
votes
0 answers

Cassandra Repair Intervals

The Cassandra documentation recommends to run the nodetool repair for every GC seconds (10 days), but this nodetool repair command takes more time and resources. Hence to reduce time and resources I followed partitioner range repair mechanism…
Shoban Sundar
  • 493
  • 1
  • 9
  • 11
0
votes
1 answer

Sending data to cassandra when node tool repair is going on

I need to set up a Cassandra cluster with 3 nodes and RF=1. I want to set up a cron job, that runs node tool repairs once a week, on all three nodes at the same time. Will this affect the data that is being sent to the cluster while the node tool…
vamsi
  • 305
  • 2
  • 13
0
votes
1 answer

Does nodetool cleanup affect Apache Spark rdd.count() of a Cassandra table?

I've been tracking the growth of some big Cassandra tables using Spark rdd.count(). Up 'till now the expected behavior was consistent, the number of rows is constantly growing. Today I ran nodetool cleanup on one of the seeds and as usual it ran for…
Jose Fonseca
  • 388
  • 1
  • 14
0
votes
2 answers

How can we set nodetool and cqlsh to be run from anywhere and by any user on linux server

I am trying to setup environment variables so that any user on a particular server can run commands like nodetool or cqlsh from any where in linux file system . The effort to traverse to bin directory everytime should be saved . How can we achieve…
Tony
  • 511
  • 1
  • 4
  • 22
0
votes
1 answer

my datastax cluster nodetool ring shows duplicate token

My datastax cluster nodetool ring shows duplicate token(8814750030873335965), one of these has an empty address. I don't know why or how to fix this. Please see the result below: [root@iZ11yj300zkZ ~]# nodetool ring Datacenter:…
peter
  • 634
  • 10
  • 30
0
votes
0 answers

cassandra backup files smaller than original

I am trying to do a backup of all my data from Cassandra, in order to move them to a different machine. I've been using nodetool to do this. nodetool -h localhost snapshot -t my_backup keyspcace After running nodetool, a new 'snapshot' folder gets…
0
votes
0 answers

Cassandra compaction stuck? Should I disable?

In Opscenter I see one of the nodes is orange. It seems like it's working on compaction. I used nodetool compactionstats and whenever I did this the Completed nad percentage stays the same (even with hours in between). I currently don't see cpu load…
0
votes
1 answer

cassandra nodetool repair/upgrade

I have a cassandra cluster with version 2.0.9 running. Nodetool hasn't been running since the start (as it was not requested to schedule these repairs). Each node has around 8GB of data. That seems rather small to me. When I try to run nodetool…
0
votes
1 answer

Cassandra nodetool repair - out of memory error

I have Cassandra Datastax 2.2.3 cluster (only one node) and as a test I'm adding a new node. After successfully adding the new node and starting it with bootstrap=false, I'm trying to rebalace it with nodetool repair. However, this error pops up in…
piotrwest
  • 1,942
  • 19
  • 32