Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 29425 invoked from network); 5 Jun 2008 10:00:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2008 10:00:12 -0000 Received: (qmail 40209 invoked by uid 500); 5 Jun 2008 10:00:14 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 39870 invoked by uid 500); 5 Jun 2008 10:00:12 -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 39483 invoked by uid 99); 5 Jun 2008 10:00:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2008 03:00:11 -0700 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; Thu, 05 Jun 2008 09:59:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 36AB5234C131 for ; Thu, 5 Jun 2008 02:59:45 -0700 (PDT) Message-ID: <1316917681.1212659985222.JavaMail.jira@brutus> Date: Thu, 5 Jun 2008 02:59:45 -0700 (PDT) From: "Devaraj Das (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3427) In ReduceTask::fetchOutputs, wait for result can be improved slightly In-Reply-To: <776736020.1211374795666.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-3427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Devaraj Das updated HADOOP-3427: -------------------------------- Status: Open (was: Patch Available) Cancelling patch due to conflicts with trunk > In ReduceTask::fetchOutputs, wait for result can be improved slightly > --------------------------------------------------------------------- > > Key: HADOOP-3427 > URL: https://issues.apache.org/jira/browse/HADOOP-3427 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Reporter: Devaraj Das > Assignee: Devaraj Das > Fix For: 0.18.0 > > Attachments: 3427.3.patch, 3427.patch, 3427.patch, 3427.patch > > > The getCopyResult call in ReduceTask::fetchOutputs waits for 2 seconds if the results list is empty. This can be improved to wait only when sufficient number of fetches (above a certain threshold) have been scheduled. The threshold should ensure that all the fetcher threads would be busy enough, and in this case, the call to getCopyResult would return only when a fetcher thread wakes it up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.