Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 37935 invoked from network); 28 Aug 2009 01:27:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Aug 2009 01:27:23 -0000 Received: (qmail 20881 invoked by uid 500); 28 Aug 2009 01:27:23 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 20867 invoked by uid 500); 28 Aug 2009 01:27:23 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 20857 invoked by uid 99); 28 Aug 2009 01:27:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 01:27:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 01:27:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 46684234C044 for ; Thu, 27 Aug 2009 18:26:59 -0700 (PDT) Message-ID: <1683686894.1251422819280.JavaMail.jira@brutus> Date: Thu, 27 Aug 2009 18:26:59 -0700 (PDT) From: "Sandeep Tata (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Updated: (CASSANDRA-395) BootstrapTest occasionally fails In-Reply-To: <1454862591.1251406019312.JavaMail.jira@brutus> 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-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandeep Tata updated CASSANDRA-395: ----------------------------------- Attachment: 395.patch Patch to call doAntiCompaction in the tests the same way we do in the actual code -- by submitting it to the MinorCompactionManager so it serializes with other compaction tasks. Ran the tests a 200 times -- I don't see failures anymore. > BootstrapTest occasionally fails > -------------------------------- > > Key: CASSANDRA-395 > URL: https://issues.apache.org/jira/browse/CASSANDRA-395 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Jonathan Ellis > Assignee: Sandeep Tata > Fix For: 0.4 > > Attachments: 395.patch > > > sample failure: > [junit] Testcase: testAntiCompaction1(org.apache.cassandra.db.BootstrapTest): Caused an ERROR > [junit] /home/jonathan/projects/cassandra/git-trunk/build/test/cassandra/data/Keyspace1/Standard1-2-Data.db (No such file or directory) > [junit] java.io.FileNotFoundException: /home/jonathan/projects/cassandra/git-trunk/build/test/cassandra/data/Keyspace1/Standard1-2-Data.db (No such file or directory) > [junit] at java.io.RandomAccessFile.open(Native Method) > [junit] at java.io.RandomAccessFile.(RandomAccessFile.java:212) > [junit] at java.io.RandomAccessFile.(RandomAccessFile.java:98) > [junit] at org.apache.cassandra.io.BufferedRandomAccessFile.(BufferedRandomAccessFile.java:142) > [junit] at org.apache.cassandra.io.FileStruct.(FileStruct.java:49) > [junit] at org.apache.cassandra.io.SSTableReader.getFileStruct(SSTableReader.java:321) > [junit] at org.apache.cassandra.db.ColumnFamilyStore.initializePriorityQueue(ColumnFamilyStore.java:655) > [junit] at org.apache.cassandra.db.ColumnFamilyStore.doFileAntiCompaction(ColumnFamilyStore.java:911) > [junit] at org.apache.cassandra.db.ColumnFamilyStore.doAntiCompaction(ColumnFamilyStore.java:814) > [junit] at org.apache.cassandra.db.BootstrapTest.testAntiCompaction(BootstrapTest.java:63) > [junit] at org.apache.cassandra.db.BootstrapTest.testAntiCompaction1(BootstrapTest.java:72) > I have seen someone else mention this on IRC too. Most of the time, the test passes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.