nodetool invalidatekeycache

Resets the global key cache parameter to the default, which saves all keys.

Resets the global key cache parameter to the default, which saves all keys.

Synopsis

nodetool <options> invalidatekeycache
Options are:
  • ( -h | --host ) <host name> | <ip address>
  • ( -p | --port ) <port number>
  • ( -pw | --password ) <password >
  • ( -u | --username ) <user name>
  • ( -pwf <passwordFilePath | --password-file <passwordFilePath> )

Description

By default the key_cache_keys_to_save is disabled in the cassandra.yaml. This command resets the parameter to the default.

The location of the cassandra.yaml file depends on the type of installation:
Package installations /etc/cassandra/cassandra.yaml
Tarball installations install_location/resources/cassandra/conf/cassandra.yaml