Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 9066 invoked from network); 12 Jan 2010 20:57:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jan 2010 20:57:18 -0000 Received: (qmail 66504 invoked by uid 500); 12 Jan 2010 20:57:18 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 66491 invoked by uid 500); 12 Jan 2010 20:57:18 -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 66378 invoked by uid 99); 12 Jan 2010 20:57:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2010 20:57:18 +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; Tue, 12 Jan 2010 20:57:16 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 05521234C052 for ; Tue, 12 Jan 2010 12:56:55 -0800 (PST) Message-ID: <455872478.191231263329815020.JavaMail.jira@brutus.apache.org> Date: Tue, 12 Jan 2010 20:56:55 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Updated: (CASSANDRA-681) Error deleting files during bootstrap In-Reply-To: <1171297866.100991262886354789.JavaMail.jira@brutus.apache.org> 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-681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-681: ------------------------------------- Attachment: 681.patch it looks like the problem was that Streaming.transferSSTables and StreamManager.finish were both attempting to delete the streamed file. this patch removes the one from transferSSTables. > Error deleting files during bootstrap > ------------------------------------- > > Key: CASSANDRA-681 > URL: https://issues.apache.org/jira/browse/CASSANDRA-681 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 0.5 > Environment: debian lenny amd64 OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode) > Reporter: Brandon Williams > Priority: Minor > Fix For: 0.5 > > Attachments: 681.patch > > > I started a 3 node cluster and proceeded to bootstrap a 4th node. On one of the existing nodes I began to see tracebacks like this: > ERROR - Error in executor futuretask > java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: Unable to delete /mnt/drive3/data/Keyspace1/stream/Standard1-158-Index.db after 10 tries > at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) > at java.util.concurrent.FutureTask.get(FutureTask.java:111) > at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(DebuggableThreadPoolExecutor.java:53) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1118) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:636) > Caused by: java.lang.RuntimeException: java.io.IOException: Unable to delete /mnt/drive3/data/Keyspace1/stream/Standard1-158-Index.db after 10 tries > at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:13) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > ... 2 more > Caused by: java.io.IOException: Unable to delete /mnt/drive3/data/Keyspace1/stream/Standard1-158-Index.db after 10 tries > at org.apache.cassandra.io.DeletionService$2.runMayThrow(DeletionService.java:45) > at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:9) > ... 6 more > For various data, index, and filter files. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.