Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cassandra12 error - Can't open incompatible SSTable! Current version ic

Tags:

cassandra

After installing cassandra12 with homebrew, it quits with the following message:

java.lang.RuntimeException: Can't open incompatible SSTable! Current version ic, found file: /usr/local/var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-jb-9

Computer-computer:desktop $ java -version  
java version "1.7.0_45"  
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)  
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

Installed version is cassandra 1.2.11

like image 431
jasonm Avatar asked Nov 22 '13 19:11

jasonm


1 Answers

This is because you had an older version of cassandra running before. Either remove the directories cassandra uses for logs, data and caching (in your case /usr/local/var/lib/cassandra/ or change the data / cache / log directory in cassandra.yaml.

Just for clarity's sake, you'll loose whatever data is in those directories.

like image 55
Lyuben Todorov Avatar answered Oct 23 '22 02:10

Lyuben Todorov