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 0C423104E9 for ; Mon, 21 Oct 2013 06:02:45 +0000 (UTC) Received: (qmail 18071 invoked by uid 500); 21 Oct 2013 06:02:43 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 17980 invoked by uid 500); 21 Oct 2013 06:02:43 -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 17960 invoked by uid 99); 21 Oct 2013 06:02:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Oct 2013 06:02:43 +0000 Date: Mon, 21 Oct 2013 06:02:42 +0000 (UTC) From: "Tsuyoshi OZAWA (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1328) ContainerId should expose a public static string of the ID's prefix 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-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800387#comment-13800387 ] Tsuyoshi OZAWA commented on YARN-1328: -------------------------------------- How about adding Deprecated annotation to appIdStrPrefix/appAttemptIdStrPrefix for 2.2.x's backward compatibility , and adding upper case constants for 2.3.0 or later releases? > ContainerId should expose a public static string of the ID's prefix > ------------------------------------------------------------------- > > Key: YARN-1328 > URL: https://issues.apache.org/jira/browse/YARN-1328 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Zhijie Shen > Assignee: Zhijie Shen > Priority: Minor > Attachments: YARN-1328.1.patch > > > Like ApplicationId and ApplicationAttemptId, ContainerId should also have public static string: > {code} > public static final String containerIdStrPrefix = "container_"; > {code} > Others can refer to this string to verify a containerId string. -- This message was sent by Atlassian JIRA (v6.1#6144)