0

我在使用 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

卡桑德拉 2.0 Ubuntu 12.04

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

4

1 回答 1

3

这是重放已删除表的突变时可能发生的错误。它已为即将到来的 2.0.2 修复。

于 2013-10-21T03:55:35.163 回答