nodetool verify
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 |
|
Verify (check data checksum for) one or more tables.
Synopsis
nodetool [options] verify [(-e | --extended-verify)] [--] [<keyspace> <tables>...]
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. |
|
|
Verify each cell data, beyond simply checking SSTable checksums. |
|
Name of keyspace. |
|
|
One or more table names, separated by a space. |
|
|
Separates an option from an argument that could be mistaken for an option. |
|
Description
The nodetool verify
command checks the data checksum for one or more specified tables.
An optional argument, -e
or --extended-verify
, verifies each cell’s data, whereas without the option, only the SSTable checksums are verified.
Examples
nodetool -u username -pw password verify cycling cyclist_name