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 18388646C for ; Thu, 26 May 2011 08:26:36 +0000 (UTC) Received: (qmail 79961 invoked by uid 500); 26 May 2011 08:26:35 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 79804 invoked by uid 500); 26 May 2011 08:26:31 -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 79796 invoked by uid 99); 26 May 2011 08:26:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 May 2011 08:26:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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, 26 May 2011 08:26:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6FE3DDF215 for ; Thu, 26 May 2011 08:25:47 +0000 (UTC) Date: Thu, 26 May 2011 08:25:47 +0000 (UTC) From: "Shotaro Kamio (JIRA)" To: commits@cassandra.apache.org Message-ID: <31087161.44739.1306398347455.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2045847489.31717.1304917563238.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-2626) stack overflow while compacting 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-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shotaro Kamio updated CASSANDRA-2626: ------------------------------------- Attachment: CASSANDRA-2626.patch This patch prevents stack overflow. Apache commons UnmodifiableSet is used instead of java.util.Collections.UnmodifiableSet because the latter is not accessible due to package private. > stack overflow while compacting > ------------------------------- > > Key: CASSANDRA-2626 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2626 > Project: Cassandra > Issue Type: Bug > Components: Documentation & website > Affects Versions: 0.8 beta 1 > Reporter: Terje Marthinussen > Assignee: Shotaro Kamio > Fix For: 0.8.0 > > Attachments: 2626.txt, CASSANDRA-2626.patch > > > This is a trunk build from May 3. > After adding CASSANDRA-2401, I have gotten the following on several nodes. > I am not 100% sure right now if it is related to 2401 but it may seem likely. > Unfortunately, as often is the case with stack overflows, I don't see the start of the stack > ERROR [CompactionExecutor:17] 2011-05-09 07:56:32,479 AbstractCassandraDaemon.java (line 112) Fatal exception in thread Thread[CompactionExecutor:17,1,main] > java.lang.StackOverflowError > at java.util.Collections$UnmodifiableCollection.size(Collections.java:998) > at java.util.Collections$UnmodifiableCollection.size(Collections.java:998) > at java.util.Collections$UnmodifiableCollection.size(Collections.java:998) > at java.util.Collections$UnmodifiableCollection.size(Collections.java:998) > at java.util.Collections$UnmodifiableCollection.size(Collections.java:998) > at java.util.Collections$UnmodifiableCollection.size(Collections.java:998) > at java.util.Collections$UnmodifiableCollection.size(Collections.java:998) > at java.util.Collections$UnmodifiableCollection.size(Collections.java:998) > at java.util.Collections$UnmodifiableCollection.size(Collections.java:998) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira