nodetool invalidatecountercache
Where is the cassandra-env.sh
file?
The location of the cassandra-env.sh
file depends on the type of installation:
Installation Type | Location |
---|---|
Package installations + Installer-Services installations |
|
Tarball installations + Installer-No Services installations |
|
Clears the counter cache.
Synopsis
nodetool [options] invalidatecountercache
Tarball and Installer No-Services path:
<installation_location>/resources/cassandra/bin
Short | Long | Description |
---|---|---|
|
|
Hostname or IP address. |
|
|
Port number. |
|
|
Password file path. |
|
|
Password. |
|
|
Remote JMX agent username. |
|
Separates an option from an argument that could be mistaken for an option. |
|
Description
The nodetool invalidatecountercache
command clears the counter cache, and the system starts saving all counter keys.
Examples
$ nodetool -u username -pw password invalidatecountercache