Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E62AF709E for ; Fri, 19 Aug 2011 03:09:17 +0000 (UTC) Received: (qmail 52578 invoked by uid 500); 19 Aug 2011 03:09:14 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 51578 invoked by uid 500); 19 Aug 2011 03:08:58 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 51494 invoked by uid 99); 19 Aug 2011 03:08:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 03:08:52 +0000 X-ASF-Spam-Status: No, hits=-2001.1 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; Fri, 19 Aug 2011 03:08:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E3DC9C3EDB for ; Fri, 19 Aug 2011 03:08:29 +0000 (UTC) Date: Fri, 19 Aug 2011 03:08:29 +0000 (UTC) From: "Aaron Morton (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <2008763719.51750.1313723309929.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HADOOP-7556) TaskLogAppender does not check if closed before flushing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 TaskLogAppender does not check if closed before flushing -------------------------------------------------------- Key: HADOOP-7556 URL: https://issues.apache.org/jira/browse/HADOOP-7556 Project: Hadoop Common Issue Type: Bug Affects Versions: 0.20.203.0 Reporter: Aaron Morton Priority: Minor For background see http://groups.google.com/group/brisk-users/browse_thread/thread/3a18f4679673bea8 http://mail-archives.apache.org/mod_mbox/hadoop-common-user/201108.mbox/%3C4E370C97-1541-4FDA-8456-1067DDDC4D77@thelastpickle.com%3E Cassandra is using a log4j PropertyConfigurator which is closing all existing appenders. After a task has completed the TaskLogAppender.flush() is called and it tries to flush without checking if the writer has been closed. I'll upload a patch to check if the writer is closed, and log and silently fail if it is. The real problem is the log4j config collision, we're looking to different log4j LoggerRepositories for that. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira