Apache Cassandra™ 2.0

sstablekeys

The sstablekeys utility is shorthand for sstable2json with the -e option.

Instead of dumping all of a table’s data, it dumps only the keys

Procedure

Usage:
bin/sstablekeys SSTABLE

SSTABLE should be a full path to a {table-name}-Data.db file in Cassandra’s data directory. For example, /var/lib/cassandra/data/Keyspace1/Standard1-e-1-Data.db.