hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1328) ContainerId should expose a public static string of the ID's prefix
Date Mon, 21 Oct 2013 15:57:42 GMT

    [ 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)

Mime
View raw message