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

Cassandra Commitlog taking more space on disk

The commitlog in Cassandra is taking more space. Can we clear it using nodetool flush?
Shashikumar KL
  • 1,007
  • 1
  • 10
  • 25
0
votes
0 answers

sbt-assembly - throwing java.lang.ArrayIndexOutOfBoundsException: Index 65536 out of bounds for length 132

Problem Details: In my SBT project, I am using the dependency "org.apache.cassandra" % "cassandra-all" % "3.0.27" to gather the Cassandra table size using NodeTool/NodeProbe class. I run sbt-assembly to create a fat jar packaging the mentioned…
0
votes
0 answers

Can someone explain in simple terms Cassandra nodetool commands like compact and cleanup?

Hello Everyone I am new in databases and i am trying to understand some Cassandra commands. I would like to know about the following commands : nodetool compact nodetool cleanup nodetool repair nodetool garbagecollect I would appreciate some…
0
votes
2 answers

Apache Cassandra : Does running nodetool repair with the full option on one node sufficient, or must it be run on every single node?

We currently run nodetool repair with the -pr option on every single node every weekend , and as the literature suggests run the repairs with the full option once every month on all nodes . Is it enough to run the repair with the full option for one…
Ussewa
  • 1
  • 1
0
votes
1 answer

What is system.size_estimates in cassandra and plausible reasons behind high disk consumption

I've been using cassandra on two nodes where one of them ran out of disk space and went down. When I checked, I've observed the size of size_estimates to be ~30GB. I've removed sstable files from my data directories and restarted the node. Was…
0
votes
1 answer

Cassandra Repair fails

Cassandra repair is failing to run with the below error on node 1. I earlier started multiple repair sessions in parallel by mistake. I find that there is a bug https://issues.apache.org/jira/browse/CASSANDRA-11824 which has been resolved for the…
Radhika
  • 423
  • 7
  • 22
0
votes
1 answer

Cassandra nodetool rebuild_index stuck in 100% in nodetool compactionstats, how to refresh it and to force complection?

I have a DC/OS cluster running Cassandra framework, three masters and six workers, after a framework crash due to registry issues, the Cassandra nodes are not synced with the data, in order to sync it i tried to repair the Keyspaces one by one and…
Salim
  • 5
  • 1
  • 1
  • 6
0
votes
1 answer

Script for monitoring Cassandra Cluster

I need to report below metrics for a cassandra cluster at the end of the day Cluster Load (Avg.) No of read requests No. of write requests Read Latency Write Latency Long GC Pauses No. of Connections. These have to be cluster wise and not node…
0
votes
1 answer

Cassandra cluster scaling down

I have a 3-node cassandra cluster in aws cloud which is running perfectly. The traffic is low and I want to scale it down to two or single node due to economic constraints. What could be the right practice here? Can I pause the other 2 nodes? Is…
ts178
  • 321
  • 1
  • 6
  • 20
0
votes
1 answer

Cassandra - Data not replicating across all nodes

I'm running a query across all three nodes. One of the queries results in displaying ten rows, while the same query is showing two rows on the other two. The replication factor is set to 3: keyspace_name | durable_writes |…
0
votes
1 answer

Generate keyspace system_schema cassandra

I ran command nodetool resetlocalschema on my cassandra node. It is a two node cluster. Now system_schema is unavailable when I do a desc keyspaces. How can I recreate system_schema.
sanjeev
  • 1,343
  • 3
  • 16
  • 28
0
votes
0 answers

The best way to get table statues like total row numbers and current workload like op/s of Cassandra?

I am trying two things about our Cassandra based application, which is not possible to stop all service for testing purpose: Test the performance like op/s and 99.9% latency using python driver. To get more accurate result, we want to know current…
Whichname
  • 3
  • 2
0
votes
1 answer

Offline compaction/merging of multiple SSTables into one

$ cd /tmp $ cp -r /var/lib/cassandra/data/keyspace/table-6e9e81a0808811e9ace14f79cedcfbc4 . $ nodetool compact --user-defined table-6e9e81a0808811e9ace14f79cedcfbc4/*-Data.db I expected the two SSTables (where the second one contains only…
Alexander Shukaev
  • 16,674
  • 8
  • 70
  • 85
0
votes
1 answer

apache cassandra 3.11.2 nodetool cleanup error java.lang.AssertionError: null

apache cassandra 3.11.2, 12 nodes, got this error in one node when running nodetool cleanup: ERROR [CompactionExecutor:4996] 2019-04-10 16:09:43,938 CassandraDaemon.java:228 - Exception in thread…
evyatars
  • 81
  • 5
0
votes
0 answers

nodetool command not working in cassandra version 2.2.3?

I have a problem with cassandra nodetool. My question is: When I type nodetool status command, it is not working. The output is: Starting NodeTool Does anybody have clue why it is not working? NB : my cassandra version is 2.2.3