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 5942710A70 for ; Fri, 27 Sep 2013 00:13:03 +0000 (UTC) Received: (qmail 82620 invoked by uid 500); 27 Sep 2013 00:13:03 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 82579 invoked by uid 500); 27 Sep 2013 00:13:03 -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 82570 invoked by uid 99); 27 Sep 2013 00:13:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Sep 2013 00:13:03 +0000 Date: Fri, 27 Sep 2013 00:13:03 +0000 (UTC) From: "Zhijie Shen (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-5538) MRAppMaster#shutDownJob shouldn't send job end notification before checking isLastRetry 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-5538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhijie Shen updated MAPREDUCE-5538: ----------------------------------- Attachment: MAPREDUCE-5538.1.patch Created the patch: 1. Moved the logic of sending the job end notification later, just before stopping the client service. Moreover, Added the logic to check whether it is the last retry. If it is not, AM won't send the notification. 2. Added the test cases to show AM will notify the final state, and won't send notification when isLastAMRetry == false. > MRAppMaster#shutDownJob shouldn't send job end notification before checking isLastRetry > --------------------------------------------------------------------------------------- > > Key: MAPREDUCE-5538 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5538 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Zhijie Shen > Assignee: Zhijie Shen > Attachments: MAPREDUCE-5538.1.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira