Cassandra fatal exception InstanceAlreadyExistsException
I am running 0.8 ca开发者_开发百科ssandra. When I used CQL to create two secondary indexes on two different fields on the same table, I got one exception:
javax.management.InstanceAlreadyExistsException
The worst thing about this exception is that if I shutdown the cassandra service, I can't start it anymore.
It keeps showing this exception as a fatal exception and prevent cassandra to start.
How can this be solved?
Sounds like a bug. Please report steps to reproduce and the full stacktrace of the exception on the issue tracker: https://issues.apache.org/jira/browse/CASSANDRA
Edit: as a workaround, you can connect to Cassandra with the cli after startup and drop either of the indexes, then restart the server and re-create the index with a different name.
精彩评论