Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 65654 invoked from network); 19 May 2010 04:57:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 May 2010 04:57:16 -0000 Received: (qmail 21566 invoked by uid 500); 19 May 2010 04:57:16 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 21436 invoked by uid 500); 19 May 2010 04:57:16 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 21417 invoked by uid 99); 19 May 2010 04:57:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 May 2010 04:57:15 +0000 X-ASF-Spam-Status: No, hits=-1442.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 May 2010 04:57:14 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4J4uslY010534 for ; Wed, 19 May 2010 04:56:54 GMT Message-ID: <8826504.6031274245014113.JavaMail.jira@thor> Date: Wed, 19 May 2010 00:56:54 -0400 (EDT) From: "Dmytro Molkov (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-1349) Do not pull counters of non initialized jobs In-Reply-To: <606890.111981274208111469.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmytro Molkov updated HIVE-1349: -------------------------------- Attachment: HIVE-1349.3.patch OK. Have a look at Shims implementation, does this look right? I will submit for tests right away. > Do not pull counters of non initialized jobs > -------------------------------------------- > > Key: HIVE-1349 > URL: https://issues.apache.org/jira/browse/HIVE-1349 > Project: Hadoop Hive > Issue Type: Improvement > Reporter: Dmytro Molkov > Attachments: HIVE-1349.2.patch, HIVE-1349.3.patch, HIVE-1349.patch > > > Right now hive client puts a lot of pressure on the jobtracker by pulling the counters of the job that has just been submitted and is in the process of initializing tasks. > While the job initialized tasks and reads the splits file it is holding the JobInProgress lock. The getCounters method acquires a JobTracker lock and waits for the JobInProgress lock. Since the read of the file can take a couple (a couple of tens of seconds) the job tracker is effectively blocked for that period of time. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.