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 D24C910771 for ; Mon, 21 Oct 2013 15:57:43 +0000 (UTC) Received: (qmail 98547 invoked by uid 500); 21 Oct 2013 15:57:43 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 98268 invoked by uid 500); 21 Oct 2013 15:57: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 98191 invoked by uid 99); 21 Oct 2013 15:57: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 15:57:42 +0000 Date: Mon, 21 Oct 2013 15:57:42 +0000 (UTC) From: "Zhijie Shen (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=13800760#comment-13800760 ] Zhijie Shen commented on YARN-1328: ----------------------------------- Noticed it before, but is it better to refer to a unique constant instead of having two similar ones? By the way, ConverterUtils is marked \@Private as well. Not sure it's correct or not. > 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, YARN-1328.2.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)