cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-2994) OutOfBounds in CompressedSequentialWriter.flushData
Date Mon, 08 Aug 2011 02:15:28 GMT

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

Stu Hood updated CASSANDRA-2994:
--------------------------------

    Attachment: hs_err_pid62993.log

On a related note, I see a reproducible SIGSEGV while running YCSB workloada: I don't have
debugging symbols enabled in this JVM, so the attached stack probably isn't useful, but I
expect it is related.

> OutOfBounds in CompressedSequentialWriter.flushData
> ---------------------------------------------------
>
>                 Key: CASSANDRA-2994
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2994
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Stu Hood
>            Assignee: Sylvain Lebresne
>             Fix For: 1.0
>
>         Attachments: 2994-v2.patch, hs_err_pid62993.log
>
>
> Near the beginning of a wide row test with CASSANDRA-47 compression enabled on a counter
column family, I see the following exception:
> {code:java} WARN [CompactionExecutor:5] 2011-08-04 21:50:14,558 FileUtils.java (line
95) Failed closing org.apache.cassandra.io.compress.CompressedSequentialWriter@28f01347
> java.lang.IndexOutOfBoundsException
> 	at java.io.RandomAccessFile.writeBytes(Native Method)
> 	at java.io.RandomAccessFile.write(RandomAccessFile.java:466)
> 	at org.apache.cassandra.io.compress.CompressedSequentialWriter.flushData(CompressedSequentialWriter.java:88)
> 	at org.apache.cassandra.io.util.SequentialWriter.flushInternal(SequentialWriter.java:174)
> 	at org.apache.cassandra.io.util.SequentialWriter.syncInternal(SequentialWriter.java:150)
> 	at org.apache.cassandra.io.util.SequentialWriter.close(SequentialWriter.java:283)
> 	at org.apache.cassandra.io.compress.CompressedSequentialWriter.close(CompressedSequentialWriter.java:159)
> 	at org.apache.cassandra.io.util.FileUtils.closeQuietly(FileUtils.java:91)
> 	at org.apache.cassandra.io.sstable.SSTableWriter.cleanupIfNecessary(SSTableWriter.java:201)
> 	at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:176)
> 	at org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:120)
> 	at org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:103)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:662)
> ERROR [CompactionExecutor:5] 2011-08-04 21:50:14,561 AbstractCassandraDaemon.java (line
146) Fatal exception in thread Thread[CompactionExecutor:5,1,main]
> java.lang.IndexOutOfBoundsException
> 	at java.io.RandomAccessFile.writeBytes(Native Method)
> 	at java.io.RandomAccessFile.write(RandomAccessFile.java:466)
> 	at org.apache.cassandra.io.compress.CompressedSequentialWriter.flushData(CompressedSequentialWriter.java:88)
> 	at org.apache.cassandra.io.util.SequentialWriter.flushInternal(SequentialWriter.java:174)
> 	at org.apache.cassandra.io.util.SequentialWriter.reBuffer(SequentialWriter.java:226)
> 	at org.apache.cassandra.io.util.SequentialWriter.writeAtMost(SequentialWriter.java:117)
> 	at org.apache.cassandra.io.util.SequentialWriter.write(SequentialWriter.java:101)
> 	at java.io.DataOutputStream.write(DataOutputStream.java:90)
> 	at org.apache.cassandra.db.compaction.PrecompactedRow.write(PrecompactedRow.java:105)
> 	at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:150)
> 	at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:153)
> 	at org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:120)
> 	at org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:103)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:662)
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message