Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 92488 invoked from network); 16 Nov 2008 19:24:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2008 19:24:23 -0000 Received: (qmail 43745 invoked by uid 500); 16 Nov 2008 19:24:24 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 43703 invoked by uid 500); 16 Nov 2008 19:24:24 -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 43692 invoked by uid 99); 16 Nov 2008 19:24:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Nov 2008 11:24:24 -0800 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; Sun, 16 Nov 2008 19:23:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 356CB234C256 for ; Sun, 16 Nov 2008 11:23:51 -0800 (PST) Message-ID: <586069747.1226863431217.JavaMail.jira@brutus> Date: Sun, 16 Nov 2008 11:23:51 -0800 (PST) From: "Matei Zaharia (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4664) Parallelize job initialization In-Reply-To: <1521264920.1226724404502.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matei Zaharia updated HADOOP-4664: ---------------------------------- Status: Patch Available (was: Open) > Parallelize job initialization > ------------------------------ > > Key: HADOOP-4664 > URL: https://issues.apache.org/jira/browse/HADOOP-4664 > Project: Hadoop Core > Issue Type: Improvement > Components: mapred > Reporter: Matei Zaharia > Attachments: parallel-job-init-v1.patch > > > The job init thread currently initializes one job at a time. However, this is a lengthy and partly IO-bound process because all of the job's block locations need to be resolved through the namenode and a map of them needs to be built. It can take tens of seconds. As a result, the cluster sometimes initializes jobs too slowly for full utilization to be achieved, if there are many small jobs queued up. It would be better to have a pool of threads that initialize multiple jobs in parallel. One thing to be careful of, however, is not causing deadlocks or holding locks for too long in these threads. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.