无法启动Cassandra

时间:2013-10-19 11:40:21

标签: cassandra command-line-interface

我有使用Cassandra的问题。 当我尝试cassandra / bin cassandra -f 以下例外:

ERROR 16:47:29,698 Exception encountered during startup
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.set(ArrayList.java:397)
at org.apache.cassandra.config.CFMetaData.rebuildCQL3Metadata(CFMetaData.java:1867)
at org.apache.cassandra.config.CFMetaData.rebuild(CFMetaData.java:1839)
at     org.apache.cassandra.config.CFMetaData.addColumnDefinitionsFromSchema(CFMetaData.java:1759)
at org.apache.cassandra.config.CFMetaData.fromSchema(CFMetaData.java:1664)
at org.apache.cassandra.config.KSMetaData.deserializeColumnFamilies(KSMetaData.java:305)
at org.apache.cassandra.config.KSMetaData.fromSchema(KSMetaData.java:286)
at org.apache.cassandra.db.DefsTables.loadFromKeyspace(DefsTables.java:130)
at org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:511)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:235)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:442)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:485)
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.set(ArrayList.java:397)
at org.apache.cassandra.config.CFMetaData.rebuildCQL3Metadata(CFMetaData.java:1867)
at org.apache.cassandra.config.CFMetaData.rebuild(CFMetaData.java:1839)
at org.apache.cassandra.config.CFMetaData.addColumnDefinitionsFromSchema(CFMetaData.java:1759)
at org.apache.cassandra.config.CFMetaData.fromSchema(CFMetaData.java:1664)
at org.apache.cassandra.config.KSMetaData.deserializeColumnFamilies(KSMetaData.java:305)
at org.apache.cassandra.config.KSMetaData.fromSchema(KSMetaData.java:286)
at org.apache.cassandra.db.DefsTables.loadFromKeyspace(DefsTables.java:130)
at  org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:511)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:235)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:442)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:485)
Exception encountered during startup: Index: 1, Size: 1

Cassandra 2.0 ubuntu 12.04

感谢您提前帮助解决此问题。

1 个答案:

答案 0 :(得分:3)

当重放丢弃表的突变时,这可能会发生a bug。它已经针对即将到来的2.0.2进行了修复。