Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 71828 invoked from network); 27 Jun 2008 15:01:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2008 15:01:08 -0000 Received: (qmail 95089 invoked by uid 500); 27 Jun 2008 15:01:07 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 95060 invoked by uid 500); 27 Jun 2008 15:01:07 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 95049 invoked by uid 99); 27 Jun 2008 15:01:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 08:01:07 -0700 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, 27 Jun 2008 15:00:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 18D77234C14C for ; Fri, 27 Jun 2008 08:00:45 -0700 (PDT) Message-ID: <328160519.1214578845097.JavaMail.jira@brutus> Date: Fri, 27 Jun 2008 08:00:45 -0700 (PDT) From: "Steve Loughran (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-3654) Log4J logging of stack trace may deadlock JRockit in TestFileSystem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Log4J logging of stack trace may deadlock JRockit in TestFileSystem ------------------------------------------------------------------- Key: HADOOP-3654 URL: https://issues.apache.org/jira/browse/HADOOP-3654 Project: Hadoop Core Issue Type: Bug Components: conf Affects Versions: 0.19.0 Environment: Ubuntu 8.04 x86_64 4-way running java version "1.6.0_02" Java(TM) SE Runtime Environment (build 1.6.0_02-b05) BEA JRockit(R) (build R27.4.0-90-89592-1.6.0_02-20070928-1715-linux-x86_64, compiled mode) Linux 2.6.22-15-generic #1 SMP Tue Jun 10 08:52:15 UTC 2008 x86_64 GNU/Linux Reporter: Steve Loughran Priority: Minor This is being added as a bugrep so that other people can find it, and the workaround 1. On my machine TestFileSystem will hang, even overnight -even though the build was set with a timeout. 2. halting the build left a JVM running; it was not being killed. 3. Under the IDE, the main thread appears hung in the native library call to get a stack trace, somewhere inside Log4J 4. the IDE could not halt the build, and could not be shut down cleanly either The fix for this problem was to edit conf/log4j.properties and switch to a log4J log pattern that did not print the line of the code log4j.appender.console.layout.ConversionPattern=%-4r %-5p %c %x - %m%n Given that working out a stack trace can be an expensive call, and that it can apparently hang some JVMs, perhaps it should not be the default. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.