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 9203890B5 for ; Mon, 28 Nov 2011 18:06:01 +0000 (UTC) Received: (qmail 47016 invoked by uid 500); 28 Nov 2011 18:06:01 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 46776 invoked by uid 500); 28 Nov 2011 18:06:01 -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 46741 invoked by uid 99); 28 Nov 2011 18:06:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2011 18:06:01 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Mon, 28 Nov 2011 18:06:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 71322A4717 for ; Mon, 28 Nov 2011 18:05:40 +0000 (UTC) Date: Mon, 28 Nov 2011 18:05:40 +0000 (UTC) From: "Eric Payne (Assigned) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1376587813.18729.1322503540465.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1286923248.32019.1321384312351.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (MAPREDUCE-3403) Speculative Execution: enabling multiple reduce tasks inhibit spec exec launch of mappers 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-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Payne reassigned MAPREDUCE-3403: ------------------------------------- Assignee: Eric Payne > Speculative Execution: enabling multiple reduce tasks inhibit spec exec launch of mappers > ------------------------------------------------------------------------------------------ > > Key: MAPREDUCE-3403 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3403 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: job submission > Affects Versions: 0.23.0 > Environment: Hadoop version is: Hadoop 0.23.0.1110031628 > 10 node test cluster > Reporter: patrick white > Assignee: Eric Payne > > When forcing multiple reduce tasks to be launched by applying the setNumReduceTasks() method on a Job object, and > running on input data which has one significantly longer map (and consequently reduce) task; > - a speculative reduce task was not launched, even with a longer running reducer only 4 reduce tasks were launched > - the spec launch of map tasks was inhibited by the setNumReduceTasks() method applied, so even with > -Dmapreduce.job.maps.speculative.execution=true we only had 4 map tasks launched. The exact same code with the > setNumReduceTasks() method taken out, and on the same input data set, consistently launched 5 mappers as expected. > Testing info: > 3. modified WordCount to force 4 reducers being launched, by adding: > job.setNumReduceTasks(4); // hardwire 4 reducers for now > System.out.println("\nTESTDEBUG: using 4 reduce tasks for now\n\n"); > to the Job object. This causes 4 reduce tasks to be launched, oddly though it inhibits the map task from speculative > launch. So the same job code, without the setNumReduceTasks() method, will launch 5 mappers as described in case #2. > When this method is added, that same job will only launch 4 mappers, as well as 4 reducers, otherwise the job > successfully completes. > output snippet with setNumReduceTasks(): > org.apache.hadoop.mapreduce.JobCounter > TOTAL_LAUNCHED_MAPS=4 > TOTAL_LAUNCHED_REDUCES=4 > RACK_LOCAL_MAPS=4 > SLOTS_MILLIS_MAPS=190787 > SLOTS_MILLIS_REDUCES=572554 -- 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