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 E59188858 for ; Mon, 8 Aug 2011 15:24:50 +0000 (UTC) Received: (qmail 86673 invoked by uid 500); 8 Aug 2011 15:24:50 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 86648 invoked by uid 500); 8 Aug 2011 15:24:50 -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 86640 invoked by uid 99); 8 Aug 2011 15:24:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2011 15:24:49 +0000 X-ASF-Spam-Status: No, hits=-2000.8 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; Mon, 08 Aug 2011 15:24: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 90439B172C for ; Mon, 8 Aug 2011 15:24:27 +0000 (UTC) Date: Mon, 8 Aug 2011 15:24:27 +0000 (UTC) From: "Hudson (JIRA)" To: commits@cassandra.apache.org Message-ID: <118459881.16777.1312817067587.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <432951127.9591.1312495767582.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (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 [ https://issues.apache.org/jira/browse/CASSANDRA-2994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080997#comment-13080997 ] Hudson commented on CASSANDRA-2994: ----------------------------------- Integrated in Cassandra #1009 (See [https://builds.apache.org/job/Cassandra/1009/]) Fix OutOfBounds with compression patch by slebresne; reviewed by stuhood for CASSANDRA-2994 slebresne : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1154969 Files : * /cassandra/trunk/src/java/org/apache/cassandra/io/compress/CompressedRandomAccessReader.java * /cassandra/trunk/src/java/org/apache/cassandra/io/compress/CompressedSequentialWriter.java > 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 > > > 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