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

cassandra opscenter toggles between "agents failed to connect" and "all agents connected" every two or three minutes?

cassandra opscenter toggles between "agents failed to connect" and "all agents connected" every two or three minutes? I am not sure what is happening. It says all agents are connected for two to three minutes and then it says it has trouble…
user1870400
  • 6,028
  • 13
  • 54
  • 115
2
votes
1 answer

Is there a way to see token ranges for each node in cassandra which uses vnodes?

Is there a way to see token ranges for each node in cassandra which used vnodes? I dont want to see token for each node which you get by issuing nodetool ring. I just want to see the token ranger for each node which uses vnodes.
user1870400
  • 6,028
  • 13
  • 54
  • 115
2
votes
1 answer

Cassandra nodetool cfstats - Read Count is always 0

I've got a problem with monitoring my Cassandra node. I ran nodetool cfstats keyspaceName.tableName Unfortunately Read Count is always 0 and Read Latency is NaN. I am doing reads and writes but only writes metrics are updated. Here is what I got as…
dzwonu
  • 119
  • 11
2
votes
1 answer

Understanding opscenter metrics with that of nodetool commands cfstats and cfhistograms results

I am working on benchmarking the cassandra cluster and hence using cassandra-stress tool. Able to insert 1M records in one of the table with replication factor as 2, CL as quorum, threads rate as 40, on 2 nodes and running stress from…
Arun
  • 1,692
  • 15
  • 24
2
votes
0 answers

Cassandra cfstats wrong key estimate

I am trying to get the number of rows in a very large table, it has around 100k rows. I used: nodetool cfstats And here is the result: Number of keys (estimate): 30 Why is the estimate so wrong? Thanks.
Ioana Marcu
  • 551
  • 8
  • 25
2
votes
1 answer

nodetool gcstats "GC Reclaimed (MB)" value to high

I have been monitoring gcstats from last couple of days and can't believe the value it return is correct. nodetool gcstats [GC Reclaimed (MB)] shows below values in last 5 runs when nothing is running against the database…
user2704472
  • 219
  • 1
  • 6
  • 16
2
votes
1 answer

DSE_ENV could not be determined

I setup DataStax Enterprise 4.6.6 on a Linux Ubuntu machine. OpsCenter and DevCenter are working fine. I able to write to the database, etc. with no issues. However many of the demos and command line tools return the following error: DSE_ENV could…
KingOfHypocrites
  • 9,316
  • 9
  • 47
  • 69
2
votes
1 answer

nodetool repair for "SYSTEM" and "OPSCENTER" keyspaces

Do we also need to repair "SYSTEM" keyspaces and "OPSCENTER" keyspaces in Cassandra, along with the keyspaces we created?
kris433
  • 414
  • 5
  • 17
2
votes
2 answers

Cannot change the number of tokens from 1 to 256

I am using Cassandra 2.0 and cluster has been setup with 3 nodes. Nodetool status and ring showing all the three nodes. I have specified tokens for all the nodes. I followed the below steps to change the configuration in one node: 1) sudo service…
user1261215
2
votes
2 answers

Unable to run nodetool on remote and local server in cassandra

nodetool -h -p 7199 status Error connecting to remote Jmx agent! java.rmi.NoSuchObectException: no such object in the table Am getting the above error when I tried to run the nodetool status or any other nodetool command. Cassandra is…
Ram
  • 324
  • 1
  • 4
  • 21
2
votes
1 answer

How to restart Cassandra EC2 instance?

I have Cassandra cluster on AWS. I have it only for testing purposes. Because of that I need to stop my instances and start them some other time. I deployed cluster with Datastax AMI and everything seems alright. I stoped instances in EC2 Management…
32cupo
  • 850
  • 5
  • 18
  • 36
2
votes
1 answer

What to look for after Cassandra repair

We have issues currently with our cluster and it has been recommended that we don't run OpsCenter until we add some more nodes/scale up our current environment. That said, we obviously can't run the continuous repair with OpsCenter down and thus…
bentramer
  • 21
  • 1
2
votes
1 answer

Need some clarification on running Cassandra nodetool repairs

So we've been having trouble balancing our workload on our current cluster, due mainly to budgetary constraints and the inability to add more nodes at this time. Up until recently, having a node go down overnight was happening frequently, so I was…
zoo_live_crew
  • 271
  • 3
  • 13
2
votes
0 answers

cassandra nodetool repair what does it really do?

Hi all (cassandra noob here), I'm trying understand exactly what going on..with repair..trying to get to the point where we can run our repairs on a schedule. I have setup a 4 DC (3 nodes per dc) Cassandra 2.1 cluster, 4gb Ram (1gb heap), HDD. Due…
danomano
  • 231
  • 2
  • 8
2
votes
1 answer

How to Configure multiple node cluster with Cassandra on Windows 7 64 bit?

Hi I am trying to setup multiple node for my cluster in windows machine , I have found various tutorials regarding Configuring multiple nodes for Ubuntu, but I am not able to find a proper step by step tutorial for setting up multiple node for my…
JavaRookie
  • 225
  • 1
  • 2
  • 9