cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12380) Cassandra doesn't start with IndexOutOfBoundsException exception
Date Tue, 09 Aug 2016 14:17:20 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-12380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15413582#comment-15413582
] 

Aleksey Yeschenko commented on CASSANDRA-12380:
-----------------------------------------------

Might be regular disk corruption. Have you tried scrubbing it?

> Cassandra doesn't start with IndexOutOfBoundsException exception
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-12380
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12380
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Version 2.2.4
>            Reporter: Artem Rokhin
>
> {code}
> 2016-08-02T10:31:35,260 [CompactionExecutor:1] ERROR o.a.c.service.CassandraDaemon -
Exception in thread Thread[CompactionExecutor:1,1,main]
> org.apache.cassandra.io.FSReadError: java.lang.IndexOutOfBoundsException
> 	at org.apache.cassandra.io.util.RandomAccessReader.readBytes(RandomAccessReader.java:358)
~[apache-cassandra-clientutil-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.utils.ByteBufferUtil.read(ByteBufferUtil.java:359) ~[apache-cassandra-clientutil-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength(ByteBufferUtil.java:338)
~[apache-cassandra-clientutil-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.db.composites.AbstractCType$Serializer.deserialize(AbstractCType.java:381)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.db.composites.AbstractCType$Serializer.deserialize(AbstractCType.java:365)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.db.OnDiskAtom$Serializer.deserializeFromSSTable(OnDiskAtom.java:75)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.db.AbstractCell$1.computeNext(AbstractCell.java:52) ~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.db.AbstractCell$1.computeNext(AbstractCell.java:46) ~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
~[guava-16.0.jar:na]
> 	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-16.0.jar:na]
> 	at org.apache.cassandra.io.sstable.SSTableIdentityIterator.hasNext(SSTableIdentityIterator.java:169)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.utils.MergeIterator$OneToOne.computeNext(MergeIterator.java:202)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
~[guava-16.0.jar:na]
> 	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-16.0.jar:na]
> 	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:645) ~[guava-16.0.jar:na]
> 	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
~[guava-16.0.jar:na]
> 	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-16.0.jar:na]
> 	at org.apache.cassandra.db.ColumnIndex$Builder.buildForCompaction(ColumnIndex.java:166)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:125)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.io.sstable.format.big.BigTableWriter.append(BigTableWriter.java:136)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.io.sstable.SSTableRewriter.append(SSTableRewriter.java:116)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.db.compaction.writers.MaxSSTableSizeWriter.append(MaxSSTableSizeWriter.java:67)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:184)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:74)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:247)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_73]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_73]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_73]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_73]
> 	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_73]
> Caused by: java.lang.IndexOutOfBoundsException: null
> 	at java.nio.Buffer.checkIndex(Buffer.java:540) ~[na:1.8.0_73]
> 	at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:253) ~[na:1.8.0_73]
> 	at net.jpountz.util.ByteBufferUtils.readShortLE(ByteBufferUtils.java:90) ~[lz4-1.3.0.jar:na]
> 	at net.jpountz.lz4.LZ4JavaUnsafeFastDecompressor.decompress(LZ4JavaUnsafeFastDecompressor.java:167)
~[lz4-1.3.0.jar:na]
> 	at org.apache.cassandra.io.compress.LZ4Compressor.uncompress(LZ4Compressor.java:112)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.io.compress.CompressedRandomAccessReader.reBufferStandard(CompressedRandomAccessReader.java:131)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.io.compress.CompressedRandomAccessReader.reBuffer(CompressedRandomAccessReader.java:241)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.io.compress.CompressedThrottledReader.reBuffer(CompressedThrottledReader.java:44)
~[apache-cassandra-2.2.4.jar:2.2.4]
> 	at org.apache.cassandra.io.util.RandomAccessReader.readBytes(RandomAccessReader.java:346)
~[apache-cassandra-clientutil-2.2.4.jar:2.2.4]
> 	... 31 common frames omitted
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message