cassandra_upgradesstables -- Upgrade SSTables which are not on the current Cassandra version.

Synopsis

Upgrade SSTables which are not on the current Cassandra version.

Use this module when upgrading your server or changing compression options.

Requirements

The below requirements are needed on the host that executes this module.

Parameters

keyspace (optional, str, None)
Optional keyspace.
table (optional, raw, None)
Optional table name or list of table names.
num_jobs (optional, int, 2)
Number of job threads.
host (optional, str, 127.0.0.1)
The hostname.
port (optional, int, 7199)
The Cassandra TCP port.
password (optional, str, None)
The password to authenticate with.
password_file (optional, str, None)
Path to a file containing the password.
username (optional, str, None)
The username to authenticate with.
nodetool_path (optional, str, None)
The path to nodetool.
nodetool_flags (optional, str, -Dcom.sun.jndi.rmiURLParsing=legacy)
Flags to pass to nodetool.
debug (optional, bool, False)
Enable additional debug output.

Examples

- name: Run cleanup on the Cassandra node
  community.cassandra.cassandra_cleanup:

Return Values

cassandra_cleanup (success, str, )
The return state of the executed command.

Status

Authors

  • Rhys Campbell (@rhysmeister)