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 2191E96EB for ; Tue, 17 Jan 2012 22:42:02 +0000 (UTC) Received: (qmail 782 invoked by uid 500); 17 Jan 2012 22:42:02 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 730 invoked by uid 500); 17 Jan 2012 22:42: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 722 invoked by uid 99); 17 Jan 2012 22:42:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2012 22:42:01 +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; Tue, 17 Jan 2012 22:42: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 82A7B152491 for ; Tue, 17 Jan 2012 22:41:40 +0000 (UTC) Date: Tue, 17 Jan 2012 22:41:40 +0000 (UTC) From: "Harsh J (Updated) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1595160345.50731.1326840100552.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1632625961.2842.1300164149550.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MAPREDUCE-2384) Can MR make error response Immediately? 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-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J updated MAPREDUCE-2384: ------------------------------- Fix Version/s: (was: 0.24.0) 0.23.0 Status: Open (was: Patch Available) Checked trunk sources and this is fixed via MAPREDUCE-279 on trunk. Is the test case still required? > Can MR make error response Immediately? > --------------------------------------- > > Key: MAPREDUCE-2384 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2384 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: job submission > Affects Versions: 0.21.0 > Reporter: Denny Ye > Assignee: Harsh J > Fix For: 0.23.0 > > Attachments: MAPREDUCE-2384.r1.diff, MAPREDUCE-2384.r2.diff, MAPREDUCE-2384.r3.diff > > > When I read the source code of MapReduce in Hadoop 0.21.0, sometimes it made me confused about error response. For example: > 1. JobSubmitter checking output for each job. MapReduce makes rule to limit that each job output must be not exist to avoid fault overwrite. In my opinion, MR should verify output at the point of client submitting. Actually, it copies related files to specified target and then, doing the verifying. > 2. JobTracker. Job has been submitted to JobTracker. In first step, JT create JIT object that is very "huge" . Next step, JT start to verify job queue authority and memory requirements. > > In normal case, verifying client input then response immediately if any cases in fault. Regular logic can be performed if all the inputs have passed. > It seems like that those code does not make sense for understanding. Is only my personal opinion? Wish someone help me to explain the details. Thanks! -- 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