sstableupgrade

Upgrade the SSTables in the specified snapshot to match the currently installed version of DataStax Enterprise.

Rewrite the SSTables in the specified snapshot to match the currently installed version of the DataStax Enterprise (DSE) database.

To restore a table from a snapshot with sstableloader, upgrade to a compatible SSTable version. SSTable versions are incremented when the format changes (not with each release of the database).

Use the version number in the SSTable file name to determine compatibility and upgrade requirements. The first two letters of the file name is the version, where the first letter indicates a major version and the second letter indicates a minor version. For example, the following SSTable version is mc:
data/cycling/cyclist_expenses-2d955621194c11e7a38d9504a063a84e/mc-6-big-Data.db

For SSTable compatibility and upgrading, see SSTable compatibility.

Note: To upgrade from SSTables created with DSE 4.6 and earlier, you must first upgrade the SSTables you want to restore to version ka (using DSE version 4.7 or 4.8); SSTables created with DSE version 4.7 and higher are compatible with all DSE 5.x versions.

Usage:

sstableupgrade [options] keyspace_name table_name [snapshot_filename]
Tarball and Installer No-Services path:
installation_location/resources/cassandra/bin

The snapshot option upgrades the specified snapshot only.

Table 1. Options
Flag Option Description
--debug Display stack traces.
-h --help Display help.