The sstableupgrade tool

Upgrade the SSTables in the specified table or snapshot to match the currently installed version of Cassandra.

This tool rewrites the SSTables in the specified table to match the currently installed version of Cassandra.

If restoring with sstableloader, you must upgrade your snapshots before restoring for any snapshot taken in a major version older than the major version that Cassandra is currently running.

Usage:

  • Cassandra Package installations:
    sstableupgrade [options] keyspace table [snapshot]
  • Cassandra Tarball installations:
    cd install_location
    $ bin/sstableupgrade [options] keyspace table [snapshot]
  • DataStax Enterprise 4.8 tarball installations:
    cd install_location/resources/cassandra
    $ bin/sstableupgrade [options] keyspace table [snapshot]

The snapshot option only upgrades the specified snapshot.

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