Hi David,
After a long discussion in #cassandra I found out that the problem is
related to the 'system' keyspace. However if you delete your keyspace it
will not be refreshed on startup. I did the following experiment and it
worked so I suggest it as a rescue guide:
0. Before it is too late export your KS schema: Create a file called
'schema_export' and add the following lines inside:
use MyKeyspace;
show schema;
then run this cassandra script and save the output in another file:
cassandra-cli < schema_export > my.schema
keep this file under lock and key! If you change your schema, remember
to update the file.
1. Stop the server
1. Delete 'system': rm -r /var/lib/cassandra/data/system
2. Start the server
3. Load the schema: cassandra-cli < my.schema
4. Restart the server and connect using the client. Apply a 'use
MyKeyspace' and you'll see that your keyspace is there. Also your data
is there.
Regards,
Pantelis
Pantelis Sopasakis,
ch...@mail.ntua.gr
Dipl. Chemical Engineer NTUA
Msc. Applied Mathematics NTUA
Automatic Control Unit, School of Chem. Eng., NTUA
Heroon Polytechneiou 9, 15780 Zografou Campus, Athens, Greece
Tel.
(+30) 210 772 3236 (office)
Research fellow at Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
pantelis....@helmholtz-muenchen.de