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
0
votes
1 answer

Cassandra nodetool status shows ownership as 200%

After setting up a 3 node cassandra cluster (cassandra version - 2.1.9), I ran the "nodetool status" command. I realized that the effective ownership % sums up to 200%. Datacenter: datacenter1 ======================= Status=Up/Down |/…
user3421442
  • 83
  • 1
  • 6
0
votes
0 answers

Test of datastax java driver on cassandra and using nodetool

I was doing some test on datastax java driver with Eclipse on Mac Pro. Basically, in the eclipse, I was using prepared and batch statement to write (id, name), where id ranges from 10000 to 1000000 and names are student1 - student10000(according to…
Steven Wu
  • 29
  • 1
  • 7
0
votes
1 answer

Cassandra cannot update row when one node is down

First time Cassandra user and obligatory issue. Cassandra is running in a 2 node cluster with replication factor=2 and row update fails when 1 node is down. Keyspace is defined as below. CREATE KEYSPACE call_completion_dataspace WITH replication =…
Arslan Mehboob
  • 952
  • 8
  • 19
0
votes
0 answers

Cassandra's nodetool repair appears to cause outages

I have a 4 node Cassandra cluster that didn't see a repair() for about 8 months, in between administrators. It doesn't see much in the way of deletes. I've noticed that when I run nodetool repair, the system will not accept new data, and nobody can…
0
votes
1 answer

How to restore cassandra snapshot on a new single node cassandra

I have done a snapshot of one of the key space which has 10 column family. There are 10 snapshot folder under each of column family folder.i want to restore these snapshot in one the development server (single node). How can i easily restore it on a…
user2704472
  • 189
  • 1
  • 5
  • 14
0
votes
1 answer

Cassandra tpstats and tuning

On a six node Cassandra cluster [replication factor 2], we notice a single node being hotspotted [heavy load]. When Looking at tpstats, I could see that Flush writer and Replicate on write stages were having tasks that are all time blocked. We have…
Tamil
  • 5,076
  • 8
  • 37
  • 57
0
votes
1 answer

cassandra key cache hit rate differs between nodetool and opscenter

I checked my key cache hit rate via nodetool and opscenter, the first shows a hit rate of 0.907 percent. Key Cache : entries 1152104, size 96.73 MB, capacity 100 MB, 52543777 hits, 57954469 requests, 0.907 recent hit rate, 14400 save…
bhomass
  • 2,958
  • 5
  • 33
  • 64
0
votes
1 answer

nodetool removenode allows dead node to rejoin when it comes back online

I remove a dead node from my Cassandra cluster using nodetool removenode. Running nodetool status after indicates that the deleted node no longer exists. However when the dead node comes online, nodetool status indicates that the removed node is…
venkatvi
  • 1
  • 1
0
votes
1 answer

What is the difference between owns and owns(effective) in cassandra

I am trying to check status of nodes using nodetool When i try nodetool status i get the following output -- Address Load Tokens Owns Host ID Rack UN 192.168.1.12 702.25 MB 256 23.5% …
Yasmeen
  • 771
  • 1
  • 6
  • 19
0
votes
0 answers

Cassandra Nodetool can't find NodeCmd from Git Bash

I'm running Cassandra 2.0.9 with Java 1.7.0 on Windows. I can run nodetool normally from the Windows command line, but I'm not able to run it from the Git Bash (directly from terminal or through a sh script) or Cygwin when running .sh files that…
cliffycheng
  • 331
  • 4
  • 12
0
votes
2 answers

java.lang.ClassCastException and java.lang.AssertionError while running nodetool cleanup

I am using cassandra-2.0.3, I have added a new node in datacenter (using vnodes) but while running nodetool cleanup i am getting Error occurred during cleanup java.util.concurrent.ExecutionException: java.lang.ClassCastException:…
Aftab
  • 766
  • 1
  • 7
  • 19
0
votes
1 answer

NPE in nodetool refresh

I'm migrating data from Cassandra 1.1.3 to 1.2.13. I created snapshots of column families and move all the data inside them to each column family directories of new nodes. Then ran nodetool's upgradesstables -a command. Then I ran refresh
Bee
  • 11,225
  • 8
  • 39
  • 68
0
votes
0 answers

Lack of disk space during the utility 'nodetool rebuild'

Good afternoon. In a production environment we use Cassandra 2.0.7. Initially we were enough one node (cass-05, the local IP-address 192.168.0.5). There is now a need for a second node (cass-06, the local IP-address 192.168.0.6). For the second node…
DmitryKanunnikoff
  • 2,116
  • 1
  • 19
  • 29
0
votes
1 answer

Upgrading Cassandra

my Cassandra version is 1.2.4 and i'm trying to upgrade it to 2.0.5 and i know that in the first part i have to upgrade it to 1.0.14 and after that try to upgrade it to the 2.0.5 , when I try to run nodetool -h localhost removenode Host ID it gives…
Mostafa Jamareh
  • 1,344
  • 3
  • 21
  • 52
0
votes
1 answer

One Cassandra node has no load

I'm having a Cassandra 1.2.13 cluster with 4 nodes and RF 3. And reads/writes in QUORUM. I have assigned initial tokens using the following which is given here. python -c 'print [str(((2**64 / 4) * i) - 2**63) for i in range(4)]' But when I insert…
Bee
  • 11,225
  • 8
  • 39
  • 68
1 2 3
14
15