Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 57046 invoked from network); 4 Aug 2009 20:56:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Aug 2009 20:56:34 -0000 Received: (qmail 1330 invoked by uid 500); 4 Aug 2009 20:56:39 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 1286 invoked by uid 500); 4 Aug 2009 20:56:39 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 1276 invoked by uid 99); 4 Aug 2009 20:56:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 20:56:39 +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; Tue, 04 Aug 2009 20:56:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CA67B29A0013 for ; Tue, 4 Aug 2009 13:56:14 -0700 (PDT) Message-ID: <1326873377.1249419374816.JavaMail.jira@brutus> Date: Tue, 4 Aug 2009 13:56:14 -0700 (PDT) From: "Aaron Kimball (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-825) JobClient completion poll interval of 5s causes slow tests in local mode In-Reply-To: <295575366.1249419254870.JavaMail.jira@brutus> 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 [ https://issues.apache.org/jira/browse/MAPREDUCE-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron Kimball updated MAPREDUCE-825: ------------------------------------ Attachment: completion-poll-interval.patch This patch adds the {{jobclient.completion.poll.interval}} mapreduce parameter, which defaults to the existing value of 5000 ms. No new tests because this is a very small change; it's not clear what new (or any) functionality needs additional verification. > JobClient completion poll interval of 5s causes slow tests in local mode > ------------------------------------------------------------------------ > > Key: MAPREDUCE-825 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-825 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Aaron Kimball > Assignee: Aaron Kimball > Priority: Minor > Attachments: completion-poll-interval.patch > > > The JobClient.NetworkedJob.waitForCompletion() method polls for job completion every 5 seconds. When running a set of short tests in pseudo-distributed mode, this is unnecessarily slow and causes lots of wasted time. When bandwidth is not scarce, setting the poll interval to 100 ms results in a 4x speedup in some tests. This interval should be parametrized to allow users to control the interval for testing purposes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.