Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 305056B5D for ; Thu, 4 Aug 2011 22:51:53 +0000 (UTC) Received: (qmail 54708 invoked by uid 500); 4 Aug 2011 22:51:53 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 54657 invoked by uid 500); 4 Aug 2011 22:51:52 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 54649 invoked by uid 99); 4 Aug 2011 22:51:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 22:51:52 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 22:51:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 303E6A9646 for ; Thu, 4 Aug 2011 22:51:27 +0000 (UTC) Date: Thu, 4 Aug 2011 22:51:27 +0000 (UTC) From: "Stu Hood (JIRA)" To: commits@cassandra.apache.org Message-ID: <1182627981.9722.1312498287194.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <432951127.9591.1312495767582.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (CASSANDRA-2994) OutOfBounds in CompressedSequentialWriter.flushData MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-2994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079644#comment-13079644 ] Stu Hood edited comment on CASSANDRA-2994 at 8/4/11 10:50 PM: -------------------------------------------------------------- Before anyone pursues this, lemme confirm that it isn't due to a bad merge... sorry, should have done that before. EDIT: Confirmed in trunk. was (Author: stuhood): Before anyone pursues this, lemme confirm that it isn't due to a bad merge... sorry, should have done that before. > 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: Pavel Yaskevich > Fix For: 1.0 > > > 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