nodetool disablehintsfordc
Where is the cassandra-env.sh file located?
The location of the cassandra-env.sh file depends on the type of installation:
-
Package installations and installer-services installations:
/etc/dse/cassandra/cassandra-env.sh -
Tarball installations and installer-no services installations:
INSTALLATION_LOCATION/resources/cassandra/conf/cassandra-env.sh
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