- About the nodetool utility
A command line interface for managing a cluster.
- nodetool assassinate
Forcefully removes a dead node without re-replicating any data. It is a last resort tool if you cannot successfully use nodetool removenode.
- nodetool bootstrap
Monitor and manage a node's bootstrap process.
- nodetool cfhistograms
This tool has been renamed.
- nodetool cfstats
This tool has been renamed.
- nodetool cleanup
Cleans up keyspaces and partition keys no longer belonging to a node.
- nodetool clearsnapshot
Removes one or more snapshots.
- nodetool compact
Forces a major compaction on one or more tables.
- nodetool compactionhistory
Provides the history of compaction operations.
- nodetool compactionstats
Provide statistics about a compaction.
- nodetool decommission
Deactivates a node by streaming its data to another node.
- nodetool describecluster
Provide the name, snitch, partitioner and schema version of a cluster
- nodetool describering
Provides the partition ranges of a keyspace.
- nodetool disableautocompaction
Disables autocompaction for a keyspace and one or more tables.
- nodetool disablebackup
Disables incremental backup.
- nodetool disablebinary
Disables the native transport.
- nodetool disablegossip
Disables the gossip protocol.
- nodetool disablehandoff
Disables storing of future hints on the current node.
- nodetool disablehintsfordc
Disable hints for a datacenter.
- nodetool disablethrift
Disables the Thrift server.
- nodetool drain
Drains the node.
- nodetool enableautocompaction
Enables autocompaction for a keyspace and one or more tables.
- nodetool enablebackup
Enables incremental backup.
- nodetool enablebinary
Re-enables native transport.
- nodetool enablegossip
Re-enables gossip.
- nodetool enablehandoff
Re-enables the storing of future hints on the current node.
- nodetool enablehintsfordc
Enable hints for a datacenter.
- nodetool enablethrift
Re-enables the Thrift server.
- nodetool failuredetector
Shows the failure detector information for the cluster.
- nodetool flush
Flushes one or more tables from the memtable.
- nodetool gcstats
Print garbage collection (GC) statistics.
- nodetool getcompactionthreshold
Provides the minimum and maximum compaction thresholds in megabytes for a table.
- nodetool getcompactionthroughput
Print the throughput cap (in MB/s) for compaction in the system.
- nodetool getendpoints
Provides the IP addresses or names of replicas that own the partition key.
- nodetool getlogginglevels
Get the runtime logging levels.
- nodetool getsstables
Provides the SSTables that own the partition key.
- nodetool getstreamthroughput
Provides the Mb per second outbound throughput limit for streaming in the system.
- nodetool gettimeout
Print the timeout value of the given type in milliseconds.
- nodetool gettraceprobability
Get the probability for tracing a request.
- nodetool gossipinfo
Provides the gossip information for the cluster.
- nodetool help
Provides nodetool command help.
- nodetool info
Provides node information, such as load and uptime.
- nodetool invalidatecountercache
Resets the global counter cache parameter, counter_cache_keys_to_save, to the default (not set), which saves all keys.
- nodetool invalidatekeycache
Resets the global key cache parameter to the default, which saves all keys.
- nodetool invalidaterowcache
Resets the global key cache parameter, row_cache_keys_to_save, to the default (not set), which saves all keys.
- nodetool join
Causes the node to join the ring.
- nodetool listsnapshots
Lists snapshot names, size on disk, and true size.
- nodetool move
Moves the node on the token ring to a new token.
- nodetool netstats
Provides network information about the host.
- nodetool pausehandoff
Pauses the hints delivery process
- nodetool proxyhistograms
Provides a histogram of network statistics.
- nodetool rangekeysample
Provides the sampled keys held across all keyspaces.
- nodetool rebuild
Rebuilds data by streaming from other nodes.
- nodetool rebuild_index
Performs a full rebuild of the index for a table
- nodetool refresh
Loads newly placed SSTables onto the system without a restart.
- nodetool refreshsizeestimates
Refresh system.size_estimates table.
- nodetool reloadtriggers
Reloads trigger classes.
- nodetool relocatesstables
Rewrites any SSTable that contains tokens that should be in another data directory.
- nodetool removenode
Provides the status of current node removal, forces completion of pending removal, or removes the identified node.
- nodetool repair
Repairs one or more tables.
- nodetool replaybatchlog
Replay batchlog and wait for finish.
- nodetool resetlocalschema
Reset the node's local schema and resynchronizes.
- nodetool resumehandoff
Resume hints delivery process.
- nodetool ring
Provides node status and information about the ring.
- nodetool scrub
Rebuild SSTables for one or more Cassandra tables.
- nodetool setcachecapacity
Set global key and row cache capacities in megabytes.
- nodetool setcachekeystosave
Sets the number of keys saved by each cache for faster post-restart warmup.
- nodetool setcompactionthreshold
Sets minimum and maximum compaction thresholds for a table.
- nodetool setcompactionthroughput
Sets the throughput capacity for compaction in the system, or disables throttling.
- nodetool sethintedhandoffthrottlekb
Sets hinted handoff throttle in kb/sec per delivery thread.
- nodetool setlogginglevel
Set the log level for a service.
- nodetool setstreamthroughput
Sets the throughput capacity in Mb for outbound streaming in the system, or disables throttling.
- nodetool settimeout
Set the specified timeout in milliseconds, or 0 to disable timeout.
- nodetool settraceprobability
Sets the probability for tracing a request.
- nodetool snapshot
Take a snapshot of one or more keyspaces, or of a table, to backup data.
- nodetool status
Provide information about the cluster, such as the state, load, and IDs.
- nodetool statusbackup
Provide the status of backup.
- nodetool statusbinary
Provide the status of native transport.
- nodetool statusgossip
Provide the status of gossip.
- nodetool statushandoff
Provides the status of hinted handoff.
- nodetool statusthrift
Provide the status of the Thrift server.
- nodetool stop
Stops the compaction process.
- nodetool stopdaemon
Stops the cassandra daemon.
- nodetool tablehistograms
Provides statistics about a table that could be used to plot a frequency function.
- nodetool tablestats
Provides statistics about one or more tables.
- nodetool toppartitions
Samples database reads and writes and reports the most active partitions in a specified table.
- nodetool tpstats
Provides usage statistics of thread pools.
- nodetool truncatehints
Truncates all hints on the local node, or truncates hints for the one or more endpoints.
- nodetool upgradesstables
Rewrites SSTables for tables that are not running the current version of Cassandra.
- nodetool viewbuildstatus
Shows the progress of a materialized view build.
- nodetool verify
Verify (check data checksum for) one or more tables.
- nodetool version
Provides the version number of Cassandra running on the specified node.