nodetool upgradesstables

Rewrites SSTables for tables that are not running the current version of Cassandra.

Rewrites SSTables for tables that are not running the current version of Cassandra.

Synopsis

nodetool <options> upgradesstables
 ( -a | --include-all-sstables ) 
 -- <keyspace> ( <table> ... )
  • Options are:
    • ( -h | --host ) <host name> | <ip address>
    • ( -p | --port ) <port number>
    • ( -pw | --password ) <password >
    • ( -u | --username ) <user name>
    • ( -pwf <passwordFilePath | --password-file <passwordFilePath> )
  • -a or --include-all-sstables, followed by the snapshot name.
  • -- separates an option and argument that could be mistaken for a option.
  • keyspace a keyspace name.
  • table is one or more table names, separated by a space.

Description

Rewrites SSTables on a node that are incompatible with the current version. Use this command when upgrading your server or changing compression options.