Return-Path: Delivered-To: apmail-hadoop-chukwa-dev-archive@minotaur.apache.org Received: (qmail 29792 invoked from network); 20 May 2009 17:39:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 May 2009 17:39:55 -0000 Received: (qmail 72365 invoked by uid 500); 20 May 2009 17:40:08 -0000 Delivered-To: apmail-hadoop-chukwa-dev-archive@hadoop.apache.org Received: (qmail 72335 invoked by uid 500); 20 May 2009 17:40:07 -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 72160 invoked by uid 99); 20 May 2009 17:40:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 17:40:07 +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, 20 May 2009 17:40:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9819F234C045 for ; Wed, 20 May 2009 10:39:45 -0700 (PDT) Message-ID: <189833312.1242841185622.JavaMail.jira@brutus> Date: Wed, 20 May 2009 10:39:45 -0700 (PDT) From: "Eric Yang (JIRA)" To: chukwa-dev@hadoop.apache.org Subject: [jira] Created: (CHUKWA-256) Change ChukwaJobInstrumentation class to use the new API for getting job history file name. 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 Change ChukwaJobInstrumentation class to use the new API for getting job history file name. ------------------------------------------------------------------------------------------- Key: CHUKWA-256 URL: https://issues.apache.org/jira/browse/CHUKWA-256 Project: Hadoop Chukwa Issue Type: Improvement Components: data collection Environment: Redhat EL 5.1, Java 6 Reporter: Eric Yang Hadoop getJobHistoryFileName has scability problem, the entire method is in a synchronized block. When there are too many files existed in the log directory, this method takes a very long time to return the file name. This could cause the job tracker to run very slowly. There is a new API put in place (HADOOP-4372) getNewJobHistoryFileName should be much more lightweight and work for Chukwa Jobtracker Instrumentation API. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.