nodetool upgradesstables

Rewrites SSTables for tables that are not running the current version of DataStax Enterprise (DSE).

Rewrites SSTables for tables that are not running the current version of DataStax Enterprise (DSE). Ensure that the SSTables are compatible with the current DSE version.

For SSTable compatibility and upgrading, see SSTable compatibility.

Synopsis

nodetool <options> upgradesstables
    ( -a | --include-all-sstables ) 
    -- <keyspace>  <table> ... 
Tarball and Installer No-Services path:
installation_location/resources/cassandra/bin
Table 1. Options
Short Long Description
-h --host Hostname or IP address.
-j --job Number of SSTables to upgrade simultaneously; 0 uses all available compaction threads.
-p --port Port number.
-pwf --password-file Password file path.
-pw --password Password.
-u --username Remote JMX agent username.
-a --include-all-sstables Forces an upgrade of the SSTables, even if they have the target version.
keyspace Name of keyspace.
table One or more table names, separated by a space.
-- Separates an option from an argument that could be mistaken for a option.

Description

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