cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5905) Cassandra crashes on restart with "IndexOutOfBoundsException: index (2) must be less than size (2)"
Date Mon, 14 Oct 2013 18:16:45 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-5905:
--------------------------------------

    Attachment:     (was: 6183-v2.txt)

> Cassandra crashes on restart with "IndexOutOfBoundsException: index (2) must be less
than size (2)"
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5905
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5905
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: Ubuntu 12.04 x64
> 3 nodes, 1GB each
>            Reporter: David Semeria
>
> All 3 nodes crash on restart with same error:
> INFO 13:31:05,272 Finished reading /var/lib/cassandra/commitlog/CommitLog-2-1376754824649.log
>  INFO 13:31:05,272 Replaying /var/lib/cassandra/commitlog/CommitLog-2-1376754824650.log
>  INFO 13:31:08,267 Finished reading /var/lib/cassandra/commitlog/CommitLog-2-1376754824650.log
> java.lang.IndexOutOfBoundsException: index (2) must be less than size (2)
> 	at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:305)
> 	at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:284)
> 	at com.google.common.collect.RegularImmutableList.get(RegularImmutableList.java:81)
> 	at org.apache.cassandra.db.marshal.CompositeType.getComparator(CompositeType.java:94)
> 	at org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:76)
> 	at org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:31)
> 	at java.util.TreeMap.compare(TreeMap.java:1188)
> 	at java.util.TreeMap.put(TreeMap.java:531)
> 	at org.apache.cassandra.db.TreeMapBackedSortedColumns.addColumn(TreeMapBackedSortedColumns.java:102)
> 	at org.apache.cassandra.db.TreeMapBackedSortedColumns.addColumn(TreeMapBackedSortedColumns.java:88)
> 	at org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:114)
> 	at org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:109)
> 	at org.apache.cassandra.db.ColumnFamilySerializer.deserialize(ColumnFamilySerializer.java:101)
> 	at org.apache.cassandra.db.RowMutation$RowMutationSerializer.deserialize(RowMutation.java:376)
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:203)
> 	at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:98)
> 	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:146)
> 	at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:126)
> 	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:281)
> 	at org.apache.cassandra.service.CassandraDaemon.init(CassandraDaemon.java:358)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:212)
> Cannot load daemon
> Service exit with a return value of 3



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message