2013-10-19 145 views
0

我有使用Cassandra的問題。當我試圖 卡桑德拉/箱卡桑德拉-f 以下異常:無法啓動Cassandra

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

感謝您對解決此您的幫助,提前。

+0

以前安裝過Cassandra的其他版本嗎? – charly

+0

謝謝@charly不,它是我的第一個cassandra installation.and我重新安裝cassandra,現在它工作。 –

回答

3

這是a bug可能發生在重放已刪除表的突變時。它對於即將到來的2.0.2是固定的。