Reputation: 1182
I want to run some of the programs in SSTable Tools however the doc says: Cassandra must be stopped before these tools are executed, or unexpected results will occur. Note: the scripts do not verify that Cassandra is stopped.
I installed and started cassandra using docker. So how do I run something like sstableutil?
Upvotes: 1
Views: 112
Reputation: 87224
Something like this, but you need to make sure that you have data on the host system, or in the Docker volume (it's good idea anyway):
docker run -it ...volume_config... --rm cassandra sstable_command
P.S. But it really depends on the command - I remember that some commands were documented as required stop, but not really required
Upvotes: 1