Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6D991200AE2 for ; Fri, 27 May 2016 23:02:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6C4A7160A12; Fri, 27 May 2016 21:02:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D710C160A10 for ; Fri, 27 May 2016 23:02:13 +0200 (CEST) Received: (qmail 78160 invoked by uid 500); 27 May 2016 21:02:13 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 78143 invoked by uid 99); 27 May 2016 21:02:12 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 May 2016 21:02:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D39722C1F60 for ; Fri, 27 May 2016 21:02:12 +0000 (UTC) Date: Fri, 27 May 2016 21:02:12 +0000 (UTC) From: "Arun Suresh (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5127) Expose ExecutionType in Container api record MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 27 May 2016 21:02:14 -0000 [ https://issues.apache.org/jira/browse/YARN-5127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15304768#comment-15304768 ] Arun Suresh commented on YARN-5127: ----------------------------------- +1, Thanks for the patch [~hrsharma] Will fix the remaining check-style warnings when I commit shortly > Expose ExecutionType in Container api record > -------------------------------------------- > > Key: YARN-5127 > URL: https://issues.apache.org/jira/browse/YARN-5127 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Arun Suresh > Assignee: Hitesh Sharma > Attachments: YARN-5127.002.patch, YARN-5127.003.patch, YARN-5127.004.patch, YARN-5127.005.patch, YARN-5127.v1.patch > > > Currently the ExecutionType of the Container returned as a response to the allocate call is contained in the {{ContinerTokenIdentifier}} which is encoded into the ContainerToken. > Unfortunately, the client would need to decode the returned token to access the ContainerTokenIdentifier, which probably should not be allowed. > This JIRA proposes to add a {{getExecutionType()}} method in the container record. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org