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 

C:\> %CASSANDRA_HOME%\bin\nodetool <options> upgradesstables
 ( -a | --include-all-sstables ) 
 -- <keyspace>  <table> ... 
Options
Short Long Description
-h --host Hostname or IP address.
-p --port Port number.
-pwf --password-file Password file path.
-pw --password Password.
-u --username Remote JMX agent username.
-a --include-all-sstables Snapshot name.
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.
CASSANDRA_HOME
Windows 3.0 installations C:\Program Files\Datastax Community\apache-cassandra\
Windows 3.x installations C:\Program Files\Datastax-DDC\apache-cassandra\
On a standard Windows installation, the installation wizard creates %CASSANDRA_HOME% as an environment variable.