Thanks for the answer Aaron.
There are Data, Index, Filter, and Statistics files associated with SSTables.
What files must be physically moved/deleted?
I tried just moving the Data file and Cassandra would not start. I see this
exception:
WARN [WrapperSimpleAppMain] 2011-04-11 12:04:23,239 ColumnFamilyStore.java
(line 493) Removing orphans for /var/lib/cassandra/data/DFS/main-f-5: [Data.db]
ERROR [WrapperSimpleAppMain] 2011-04-11 12:04:23,240
AbstractCassandraDaemon.java (line 333) Exception encountered during startup.
java.lang.AssertionError: attempted to delete non-existing file main-f-5-Data.db
at
org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:46)
at
org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:41)
at
org.apache.cassandra.db.ColumnFamilyStore.scrubDataDirectories(ColumnFamilyStore.java:498)
at
org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:153)
On Apr 11, 2011, at 2:14 AM, aaron morton wrote:
> But if you wanted to get fresh data on the node, a simple approach is to
> delete/move just the SSTable that is causing problems then run a repair. That
> should reduce the amount of data that needs to be moved.