Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 CFEA5107AB for ; Sat, 14 Dec 2013 13:59:11 +0000 (UTC) Received: (qmail 81083 invoked by uid 500); 14 Dec 2013 13:59:11 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 80979 invoked by uid 500); 14 Dec 2013 13:59:10 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 80900 invoked by uid 99); 14 Dec 2013 13:59:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Dec 2013 13:59:09 +0000 Date: Sat, 14 Dec 2013 13:59:09 +0000 (UTC) From: "Bikas Saha (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1507) Apps should be saved after it's accepted by the scheduler 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/YARN-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13848361#comment-13848361 ] Bikas Saha commented on YARN-1507: ---------------------------------- This may also simplify the initial submitApplication code where we currently save the app. The initial impl saved in submitApplication because the submission was synchronous. Now that submission involves polling until app reaches accepted state we can move the logic into the RMApp state machine. > Apps should be saved after it's accepted by the scheduler > --------------------------------------------------------- > > Key: YARN-1507 > URL: https://issues.apache.org/jira/browse/YARN-1507 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Jian He > Assignee: Jian He > > It makes more sense to save the app after it is accepted by the scheduler. > We can replace the NEW_SAVING with an ACCEPTED_SAVING state before the ACCEPTED state. -- This message was sent by Atlassian JIRA (v6.1.4#6159)