nodetool disablehintsfordc
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 |
|
Disable hints for a datacenter.
Synopsis
nodetool [options] disablehintsfordc [--] <datacenter>
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. |
datacenter |
The datacenter to disable. |
|
|
Separates an option from an argument that could be mistaken for an option. |
|
Description
The nodetool disablehintsfordc
command is used to turn off hints for a datacenter.
This can be useful if there is a downed datacenter, but hints should continue on other datacenters.
Another common case is during datacenter failover, when hints put unnecessary pressure on the datacenter.
Examples
$ nodetool -u username -pw password disablehintsfordc DC2