Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 48859 invoked from network); 30 Apr 2008 14:47:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Apr 2008 14:47:46 -0000 Received: (qmail 9199 invoked by uid 500); 30 Apr 2008 14:47:45 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 9120 invoked by uid 500); 30 Apr 2008 14:47:44 -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 9078 invoked by uid 99); 30 Apr 2008 14:47:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 07:47:44 -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; Wed, 30 Apr 2008 14:46:59 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8E57C234C10B for ; Wed, 30 Apr 2008 07:43:57 -0700 (PDT) Message-ID: <528801306.1209566637582.JavaMail.jira@brutus> Date: Wed, 30 Apr 2008 07:43:57 -0700 (PDT) From: "Amar Kamat (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3326) ReduceTask should not sleep for 200 ms while waiting for merge to finish In-Reply-To: <381497206.1209499375712.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-3326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593344#action_12593344 ] Amar Kamat commented on HADOOP-3326: ------------------------------------ Owen, This is a one time wait in the lifetime of the reducer. 400ms seems insignificant as compared to the total runtime of the reducer. What is the concern here? > ReduceTask should not sleep for 200 ms while waiting for merge to finish > ------------------------------------------------------------------------ > > Key: HADOOP-3326 > URL: https://issues.apache.org/jira/browse/HADOOP-3326 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Reporter: Owen O'Malley > > Currently the merge code in Reduce task does: > {code} > // Wait for the on-disk merge to complete > while (localFSMergeInProgress) { > Thread.sleep(200); > } > > //wait for an ongoing merge (if it is in flight) to complete > while (mergeInProgress) { > Thread.sleep(200); > } > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.