[ https://issues.apache.org/jira/browse/YARN-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13655024#comment-13655024 ]
Vinod Kumar Vavilapalli commented on YARN-572: ---------------------------------------------- ContainerToken is in a sense already non-interpretable, see org.apache.hadoop.yarn.api.records.ContainerToken and its super class : the ID is already a ByteBuffer. What we need to do is move ContainerTokenIdentifier off to server-common, so that Client will have absolutely have no way of interpreting the ByteBuffer. Arguably, they could still do it, but at that point, it isn't supported clearly. > 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