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
5
votes
2 answers

Cassandra Validation failed error - Repair session failed with error

I'm running a Cassandra cluster with version 2.2.4. The cluster consists of 3 nodes. When I start repair using nodetool repair command i got the following error. and further it is not proceeding. root@ems:/opt/apache-cassandra-2.2.4/bin# ./nodetool…
Ajmal Sha
  • 906
  • 4
  • 17
  • 36
5
votes
4 answers

Cassandra: Command Not Found

I am currently working on the Cassandra tutorials about data modeling. I cannot understand why whenever I try to run the cassandra service from the bin folder I receive the error: "Cassandra: command not found". The same happens if I try to run…
npof75
  • 51
  • 1
  • 1
  • 2
5
votes
1 answer

Cassandra Nodetool status not working: AttributeNotFoundException: No such attribute: EndpointToHostId

I am getting the following Exception when I run nodetool status on my Cassandra nodes. I am using DSE 4.7, any idea what could be the issue. All the nodes are running the same version of the DSE -bash-4.1$ nodetool status error: No such attribute:…
5
votes
2 answers

Does cassandra flush memtables on nodetool stopdaemon. If not what to do to avoid data loss

I am using apache-cassandra-3.10 I understand instead of kill -9 pid, the only way to stop cassandra gracefully is nodetool stopdaemon. But I want to know if nodetool stopdaemon also flushes the data in the memtables to sstables before shutdown. If…
Syed Ammar Mustafa
  • 373
  • 1
  • 7
  • 18
5
votes
2 answers

Unbalanced Cassandra cluster

Update - Short version: The PropertyFileSnitch cassandra-topology.properties for the first 3 nodes (Rack 1-3) states that only these nodes are in DC1 and the others are in DC2 by specifying the default value default=DC2:r1. When the cluster was…
alien5
  • 76
  • 6
5
votes
1 answer

How to read the cassandra nodetool histograms percentile and other columns?

How to read the cassandra nodetool histograms percentile and other coulmns? Percentile SSTables Write Latency Read Latency Partition Size Cell Count (micros) (micros) (bytes) …
user1870400
  • 6,028
  • 13
  • 54
  • 115
5
votes
1 answer

nodetool cfhistograms output

I see a tabular data when I run 'nodetool cfhistograms'. Percentile SSTables Write Latency Read Latency Partition Size Cell Count (micros) (micros) (bytes) 50% …
iamtrk
  • 63
  • 1
  • 6
5
votes
1 answer

All cassandra's commit log functions and behaviour during flush

I'm using cassandra 2.2.1 and noticed that after nodetool flush commitlog files are not deleted (actually, may be some are, I didn't see, but commitlog dir is not empty). What is happening during nodetool flush or just regular flush? Are all…
ka4eli
  • 5,294
  • 3
  • 23
  • 43
5
votes
1 answer

Cassandra cleanup on several servers at once

We have a big Cassandra cluster 18 Servers (on one server near 5T data ) http://docs.datastax.com/en/cassandra/2.0/cassandra/operations/ops_add_node_to_cluster_t.html - We have added a new nodes following this documentation . After we have added new…
5
votes
2 answers

Understanding "Number of keys" in nodetool cfstats

I am new to Cassandra, in this example i am using a cluster with 1 DC and 5 nodes and a NetworkTopologyStrategy with replication factor as 3. Keyspace: activityfeed Read Count: 0 Read Latency: NaN ms. Write…
Yasmeen
  • 801
  • 1
  • 7
  • 20
5
votes
2 answers

Cassandra nodetool could not resolve '127.0.0.1': unknown host

I am very new to cassandra. Just started exploring. I am running a single node cassandra server & facing a problem in seeing status of the cassandra using nodetool command. I have hostname configured on my VM as myMachineIP cass1 in /etc/hosts and…
devThoughts
  • 820
  • 1
  • 12
  • 18
5
votes
2 answers

Cassandra Replicas Down during nodetool repair?

I am developing an automated script for nodetool repair which would execute ever weekend on all the 6 Cassandra nodes. We have 3 in DC1 and 3 in DC2. Just want to understand worst case scenario. What would happens if connectivity between DC1 and DC2…
Sachin Bhansali
  • 1,372
  • 2
  • 9
  • 12
4
votes
1 answer

How do I determine whether a Cassandra node was drained?

I'd like to know whether a Cassandra node is running or not (I know how to do that part, I can just check whether a java process is running, that's the only one that uses java on that server) and when not running, whether the node was properly…
Alexis Wilke
  • 19,179
  • 10
  • 84
  • 156
4
votes
3 answers

Cleanup space in almost full Cassandra Node

I have a Cassandra Cluster (2 DC) with 6 nodes each and RF 2. 4 of the nodes (in each DC) getting full so I need to cleanup space very soon. I tried to run a full repair but ended up as a bad idea since the space start increased even more and the…
Jibrilat
  • 347
  • 1
  • 3
  • 14
4
votes
5 answers

cassandra nodetool : Failed to connect to '127.0.0.1:7199'

i installed cassandra 3.11.3-1 on centos7 & vmware i didn't have error while installing cassandra. i started cassandra and faced this logs. [root@localhost ~]# service cassandra start Starting cassandra (via systemctl): [ …
woojin park
  • 41
  • 1
  • 1
  • 5
1
2
3
15 16