Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 17095 invoked from network); 5 Dec 2009 19:38:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Dec 2009 19:38:45 -0000 Received: (qmail 49280 invoked by uid 500); 5 Dec 2009 19:38:45 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 49207 invoked by uid 500); 5 Dec 2009 19:38:44 -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 49196 invoked by uid 99); 5 Dec 2009 19:38:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Dec 2009 19:38:44 +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; Sat, 05 Dec 2009 19:38:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A5186234C045 for ; Sat, 5 Dec 2009 11:38:20 -0800 (PST) Message-ID: <865054435.1260041900661.JavaMail.jira@brutus> Date: Sat, 5 Dec 2009 19:38:20 +0000 (UTC) From: "Konstantin Boudnik (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1266) Allow heartbeat interval smaller than 3 seconds for tiny clusters In-Reply-To: <1469131210.1259966000716.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-1266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786470#action_12786470 ] Konstantin Boudnik commented on MAPREDUCE-1266: ----------------------------------------------- Here's an interesting though: why don't we throw some ergonomics into Hadoop's intellect? If heartbeats seem to increase the latencies on small clusters then, perhaps, Hadoop can lower it dynamically if a small cluster is 'detected'? > Allow heartbeat interval smaller than 3 seconds for tiny clusters > ----------------------------------------------------------------- > > Key: MAPREDUCE-1266 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1266 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: jobtracker, task, tasktracker > Affects Versions: 0.22.0 > Reporter: Todd Lipcon > Priority: Minor > > For small clusters, the heartbeat interval has a large effect on job latency. This is especially true on pseudo-distributed or other "tiny" (<5 nodes) clusters. It's not a big deal for production, but new users would have a happier first experience if Hadoop seemed snappier. > I'd like to change the minimum heartbeat interval from 3.0 seconds to perhaps 0.5 seconds (but have it governed by an undocumented config parameter in case people don't like this change). The cluster size-based ramp up of interval will maintain the current scalable behavior for large clusters with no negative effect. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.