Questions tagged [nodetool]

4 questions
3
votes
1 answer

What is the best way to get a list of nodes that belong to a Cassandra cluster?

I'm creating some scripts for some Cassandra clusters I operate. Some of these scripts need a list of nodes that are part of the cluster. nodetool status will print a list of the nodes and their current state, but it prints out more information…
Gene
  • 3,633
  • 19
  • 39
1
vote
1 answer

Cassandra 2.2 - "nodetool repair" VS "nodetool repair -dc dc1,dc2,dc3"

I want to completely repair a Cassandra 2.2 cluster composed of 3 datacenters (dc1, dc2, dc3) by running only one single command line on a single node. Do I need to run? nodetool repair or nodetool repair -dc dc1,dc2,dc3 or I'm totally wrong? are…
Greg M.
  • 41
  • 3
0
votes
1 answer

Can't remove tombstones cells in Cassandra

we are using a cassandra single node cluster for experimenting and one problem we are hitting now is tombstones cells. Each row contain 2 tombstone cells and we are stuck in trying to remove them. They are causing abortion of our queries as…
BangTheBank
  • 121
  • 3
0
votes
1 answer

why is nodetool (cassandra single node) throwing NameNotFoundException: 'jmxrmi'?

Ubuntu 14.04 3.19.0-30-generic running cassandra 3.0.2. and oracle java version "1.8.0_72" i can see the port listening: 127.0.0.1:7199 0.0.0.0:* LISTEN 26048/java when i try checking status: nodetool status …