nodetool enablehintsfordc
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 |
|
Where is the cassandra.yaml
file?
The location of the cassandra.yaml
file depends on the type of installation:
Installation Type | Location |
---|---|
Package installations + Installer-Services installations |
|
Tarball installations + Installer-No Services installations |
|
Enable hints for a datacenter.
Synopsis
nodetool [options] enablehintsfordc [--] <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 enable. |
|
|
Separates an option from an argument that could be mistaken for an option. |
|
Description
The nodetool enablehintsfordc
command is used to turn on hints for a datacenter.
The cassandra.yaml
file has a parameter, hinted_handoff_disabled_datacenters
that will blacklist datacenters on startup.
If a datacenter can be enabled later with nodetool enablehintsfordc
.
Examples
$ nodetool -u username -pw password enablehintsfordc DC2