hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2312) Marking ContainerId#getId as deprecated
Date Mon, 22 Sep 2014 23:33:35 GMT

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

Tsuyoshi OZAWA commented on YARN-2312:
--------------------------------------

Thanks for your comment, Jason.

{quote}
We could have JvmID store the long itself rather than try to hack an extra 4-bytes onto ID
and then need to explain why JvmID.getId doesn't do what one would expect.
{quote}

It's good idea. TaskAttemptListenerImpl#jvmIDToActiveAttemptMap will work well with this approach.

> 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
>         Attachments: YARN-2312-wip.patch
>
>
> {{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