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 7EA5110D5E for ; Thu, 6 Jun 2013 21:22:20 +0000 (UTC) Received: (qmail 82679 invoked by uid 500); 6 Jun 2013 21:22:20 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 82652 invoked by uid 500); 6 Jun 2013 21:22:20 -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 82643 invoked by uid 99); 6 Jun 2013 21:22:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 21:22:20 +0000 Date: Thu, 6 Jun 2013 21:22:20 +0000 (UTC) From: "Hitesh Shah (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-759) Create Command enum in AllocateResponse 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-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13677526#comment-13677526 ] Hitesh Shah commented on YARN-759: ---------------------------------- Very minor comments. Looks good overall. typo in proto: optional AMCommandProto aM_command = 1; In AMCommand class' javadocs, might be useful to mention that this will be null by default in allocateresponse and that implies ... distributedshell/ApplicationMaster.java - shouldn't the app kill itself on shutdown? Ok to have this be done in a separate jira. Is there already one filed for this? Could you please file a separate jira for creating handlers for resync which are linked to stateful RM restart so that this functionality is not forgotten. > Create Command enum in AllocateResponse > --------------------------------------- > > Key: YARN-759 > URL: https://issues.apache.org/jira/browse/YARN-759 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Bikas Saha > Assignee: Bikas Saha > Attachments: YARN-759.1.patch, YARN-759.2.patch > > > Use command enums for shutdown/resync instead of booleans. -- 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