Return-Path: Delivered-To: apmail-hadoop-chukwa-dev-archive@minotaur.apache.org Received: (qmail 80170 invoked from network); 8 Apr 2009 00:40:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2009 00:40:35 -0000 Received: (qmail 49091 invoked by uid 500); 8 Apr 2009 00:40:35 -0000 Delivered-To: apmail-hadoop-chukwa-dev-archive@hadoop.apache.org Received: (qmail 49075 invoked by uid 500); 8 Apr 2009 00:40:35 -0000 Mailing-List: contact chukwa-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@hadoop.apache.org Delivered-To: mailing list chukwa-dev@hadoop.apache.org Received: (qmail 49065 invoked by uid 99); 8 Apr 2009 00:40:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2009 00:40:35 +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; Wed, 08 Apr 2009 00:40:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E603C234C004 for ; Tue, 7 Apr 2009 17:40:12 -0700 (PDT) Message-ID: <1900767101.1239151212927.JavaMail.jira@brutus> Date: Tue, 7 Apr 2009 17:40:12 -0700 (PDT) From: "Mac Yang (JIRA)" To: chukwa-dev@hadoop.apache.org Subject: [jira] Updated: (CHUKWA-68) Race condition could stop log file streaming In-Reply-To: <1382311804.1238463590459.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/CHUKWA-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mac Yang updated CHUKWA-68: --------------------------- Priority: Major (was: Blocker) Removing this from the blocker list since this can't be easily reproduced and code review does not show any obvious issue. > Race condition could stop log file streaming > -------------------------------------------- > > Key: CHUKWA-68 > URL: https://issues.apache.org/jira/browse/CHUKWA-68 > Project: Hadoop Chukwa > Issue Type: Bug > Components: data collection > Environment: Redhat 5.1, Java 6 > Reporter: Eric Yang > Assignee: Eric Yang > > When log file is actively writing with log4j appender, and fileTailingAdaptor is behind. There is a possibility that restart the java program might stop log file streaming. > Here is an example of what could go wrong: > 04:01 Shutdown Name Node. > 04:01 Terminator Thread kick in and streaming the remaining log. > 04:02 Name Node Started up > 04:03 Register of namenode log file failed because it is already streaming. > 04:20 Terminator Thread finished the log file, unregister name node log for streaming. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.