Jason Lowe commented on YARN-2558:

I think this will break rolling upgrades for YARN since the new code won't 
properly parse an old token nor will old code properly parse a new token.  We 
really need to fix YARN-668 or every time we touch a token identifier we break 
backwards compatibility and thus rolling upgrades.

> Updating ContainerTokenIdentifier#read/write to use ContainerId#getContainerId
> ------------------------------------------------------------------------------
>                 Key: YARN-2558
>                 URL: https://issues.apache.org/jira/browse/YARN-2558
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Tsuyoshi OZAWA
>            Assignee: Tsuyoshi OZAWA
>         Attachments: YARN-2558.1.patch
> We should update ContainerTokenIdentifier#read/write to use 
> {{getContainerId}} instead of {{getId}} to pass all container information 
> correctly.

This message was sent by Atlassian JIRA

Reply via email to