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
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
  • 4,540
  • 11
  • 41
  • 87
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
  • 4,884
  • 2
  • 19
  • 41
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
  • 771
  • 1
  • 6
  • 19
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
  • 770
  • 1
  • 10
  • 16
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,212
  • 2
  • 9
  • 12
4
votes
1 answer

Want to understand the output of tablehistograms

I wanted to understand the output of tablehistograms for a particular table and how can i calculate the cluster read/write, cluster latency using this for the whole cluster or Is there some other way to calculate cluster level read/write…
Manish Kumar
  • 9,298
  • 16
  • 72
  • 128
4
votes
4 answers

Cassandra nodetool java.lang.NullPointerException

When I run the command $ nodetool help I get the following error; java.lang.NullPointerException at org.apache.cassandra.config.DatabaseDescriptor.getDiskFailurePolicy(DatabaseDescriptor.java:1877) at…
Payal Zilaro
  • 41
  • 1
  • 3
4
votes
0 answers

cassandra nodetool JPLISAgent.c error

i just installed cassandra 3.11 on a VM with Ubuntu 16.04 like it's described in the manual (https://cassandra.apache.org/download/). Before installing cassandra i installed the latest verion of openjdk. Now i'm at the point "Verify that Cassandra…
Hermann
  • 41
  • 4
4
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…
Mr. Sha
  • 708
  • 2
  • 15
  • 33
4
votes
0 answers

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:…
4
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
  • 343
  • 1
  • 6
  • 17
4
votes
1 answer

why nodetool cleanup can't remove extra data in cassandra node

We added a new node to cluster and applied nodetool repair several times in new node. we sure exist extra data in new node so run nodetool cleanup but after second cleanup completed and cassandra log following warns and cleanup not remove any data.…
4
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
  • 53
  • 1
  • 6
1
2
3
14 15