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
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
  • 10,214
  • 25
  • 77
  • 147
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
0 answers

Cassandra nodetool error

I have a Cassandra cluster of two nodes. I am using Cassandra 3.10. when I tried to run nodetool status, by default it is calling /usr/bin/nodetool and gives result You must set the CASSANDRA_CONF and CLASSPATH vars. CASSANDRA_HOME and…
DEV
  • 2,106
  • 3
  • 25
  • 40
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
5 answers

Cassandra on Docker - nodetool connection issue

I was given a R&D task on running Cassandra on Docker. I'm working on XUbuntu 14.04.2 64 bit (installed on VirtualBOX in Windows7 32 bit OS). I was following the steps given in Docker on Ubuntu and Pokle cassandra tutorials and I got a…
Asela
  • 117
  • 1
  • 3
  • 12
4
votes
2 answers

Too many open files during Cassandra nodetool repair

I made a nodetool repair command on one node. This node went down, and the log files showed the following error message: INFO [STREAM-IN-/192.168.2.100] 2015-02-13 21:36:23,077 StreamResultFuture.java:180 - [Stream…
BuckBazooka
  • 881
  • 1
  • 10
  • 18
4
votes
1 answer

Cassandra nodes have different opinions about up/down status and replication. How to fix?

I've got a Cassandra 2.0.1 cluster of three nodes and the main keyspace with replication factor 3. Because of an accidental misconfiguration of one extra fourth node in the cluster, I tried to fix it first with an unnecessary "nodetool decommission"…
Eemeli Kantola
  • 5,437
  • 6
  • 35
  • 43
4
votes
2 answers

When should I run cleanup in Cassandra?

Cassandra nodetool has a command called cleanup: cleanup [keyspace][cf_name] Triggers the immediate cleanup of keys no longer belonging to this node. This has roughly the same effect on a node that a major compaction does in terms of a…
keelar
  • 5,814
  • 7
  • 40
  • 79
4
votes
1 answer

cassandra composite, compund keys on multi node

I'm doing some performance tests with different designs in cassandra recently. I'm currently using cassandra as write-intensive project. However, I'm going to add read-intensive part to export data with use of select statement. I'm doing time…
aacanakin
  • 2,844
  • 4
  • 25
  • 42
3
votes
1 answer

Is it possible to backup and restore Cassandra cluster using dsbulk?

I searched through the internet a lot and saw a lot of ways to backup and restore a Cassandra cluster, such as nodetool snapshot and Medusa. but my question is that can I use dsbulk to backup a Cassandra cluster. What are its limitations? Why…
3
votes
0 answers

How to make sense of heartbeat in cassandra's nodetool's gossipinfo?

When I did nodetool gossipinfo on one of the nodes on cassandra server, I got the following output, /192.168.0.36 generation:1504926520 heartbeat:2147483647 DC:datacenter1 STATUS:shutdown,true SEVERITY:0.0 …
3
votes
2 answers

Nodetool repair - how to automate on linux & actions during repair

Currently, I'm running once a week manually nodetool repair (while no action is happening to the cassandra nodes (nothing is inserted, e.t.c.)). Just wondering, if I can run nodetool repair, while data is being inserted? Secondly - Can I create a…
Patiss
  • 187
  • 3
  • 13
3
votes
3 answers

How to reuse a cassandra node after decommission?

I had a cluster with 2 nodes (node 1 and node 2). After decommissioning node 2 I wanted to use the server as a fresh Cassandra database for other purposes, but as soon as I restart this message…
Shelen
  • 159
  • 1
  • 8
3
votes
2 answers

why lost some data after nodetool cleanup in cassandra

We added a new node to datacenter and then run nodetool cleanup according to Add new node to existing cluster in cassandra. But after cleanup completed, we noticed that we lost some data. What could be the reason?
1 2
3
15 16