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

Vinod Kumar Vavilapalli commented on YARN-62:
---------------------------------------------

bq. I thought about threads earlier but that is like starting an additional one 
to maintain this and seems like an overhead.
Yeah, just looked back again. Seems like removing on the next startContainer 
seems fine. Fundamentally because we always remember only 10mins worth of 
containers.

+1 for the latest patch. Checking it in.
                
> AM should not be able to abuse container tokens for repetitive container 
> launches
> ---------------------------------------------------------------------------------
>
>                 Key: YARN-62
>                 URL: https://issues.apache.org/jira/browse/YARN-62
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 0.23.3, 2.0.0-alpha
>            Reporter: Vinod Kumar Vavilapalli
>            Assignee: Omkar Vinit Joshi
>         Attachments: YARN-62-20130621.1.patch, YARN-62-20130621.patch, 
> YARN-62-20130628.patch, YARN-62-20130715.1.patch
>
>
> Clone of YARN-51.
> ApplicationMaster should not be able to store container tokens and use the 
> same set of tokens for repetitive container launches. The possibility of such 
> abuse is there in the current code, for a duration of 1d+10mins, we need to 
> fix this.

--
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

Reply via email to