Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E8DD970B for ; Thu, 2 Feb 2012 11:42:15 +0000 (UTC) Received: (qmail 99717 invoked by uid 500); 2 Feb 2012 11:42:15 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 99658 invoked by uid 500); 2 Feb 2012 11:42:14 -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 99650 invoked by uid 99); 2 Feb 2012 11:42:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 11:42:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 11:42:13 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 61E6D1884A6 for ; Thu, 2 Feb 2012 11:41:53 +0000 (UTC) Date: Thu, 2 Feb 2012 11:41:53 +0000 (UTC) From: "Harsh J (Updated) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <2007706028.2177.1328182913402.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2086034356.1975.1328177273855.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MAPREDUCE-3789) CapacityTaskScheduler may perform unnecessary reservations in heterogenous tracker environments MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-3789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J updated MAPREDUCE-3789: ------------------------------- Attachment: MAPREDUCE-3789.patch > CapacityTaskScheduler may perform unnecessary reservations in heterogenous tracker environments > ----------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-3789 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3789 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: scheduler > Affects Versions: 1.1.0 > Reporter: Harsh J > Assignee: Harsh J > Priority: Critical > Attachments: MAPREDUCE-3789.patch, MAPREDUCE-3789.patch > > > Briefly, to reproduce: > * Run JT with CapacityTaskScheduler [Say, Cluster max map = 8G, Cluster map = 2G] > * Run two TTs but with varied capacity, say, one with 4 map slot, another with 3 map slots. > * Run a job with two tasks, each demanding mem worth 4 slots at least (Map mem = 7G or so). > * Job will begin running on TT #1, but will also end up reserving the 3 slots on TT #2 cause it does not check for the maximum limit of slots when reserving (as it goes greedy, and hopes to gain more slots in future). > * Other jobs that could've run on the TT #2 over 3 slots are thereby blocked out due to this illogical reservation. > I've not yet tested MR2 for this so feel free to weigh in if it affects MR2 as well. > For MR1, I've attached a test case initially to indicate this. A fix that checks reservations vs. max slots, to follow. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira