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-572) Remove duplication of data in Container
Date Fri, 10 May 2013 22:37:17 GMT

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

Zhijie Shen commented on YARN-572:

There are three fields that are duplicate in Container and ContainerTokenIdentifier:

1. ContainerId
2. NodeId
3. Resource

Though the fields are duplicated, it seems not good to remove them from Container. 1 and 2
are used to compare the Container objects and the getters of all the three are referred in
multiple places tens of times.
> Remove duplication of data in Container 
> ----------------------------------------
>                 Key: YARN-572
>                 URL: https://issues.apache.org/jira/browse/YARN-572
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Hitesh Shah
>            Assignee: Zhijie Shen
> Most of the information needed to launch a container is duplicated in both the Container
class as well as in the ContainerToken object that the Container object already contains.
It would be good to remove this level of duplication. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message