hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2312) Marking ContainerId#getId as deprecated
Date Tue, 16 Sep 2014 20:44:34 GMT

    [ https://issues.apache.org/jira/browse/YARN-2312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14136166#comment-14136166
] 

Jian He commented on YARN-2312:
-------------------------------

yep, we should update the caller of getId to use getContainerId, and get this in for 2.6
One problem I found is that  ContainerTokenIdentifer is now still using short int of the containerId,
which is used by NM to construct the ContainerId. Because of this containerId dismatch, RM
doesn't recognize the containerStatus sent by NM at all.. 

> Marking ContainerId#getId as deprecated
> ---------------------------------------
>
>                 Key: YARN-2312
>                 URL: https://issues.apache.org/jira/browse/YARN-2312
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Tsuyoshi OZAWA
>            Assignee: Tsuyoshi OZAWA
>
> {{ContainerId#getId}} will only return partial value of containerId, only sequence number
of container id without epoch, after YARN-2229. We should mark {{ContainerId#getId}} as deprecated
and use {{ContainerId#getContainerId}} instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message