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

Thomas Graves commented on YARN-180:
------------------------------------

+1 for latest patch.  I manually tested this on a small cluster and verified 
that a container can be reserved for > 10 minutes and the AM can still start 
the container after finally being allocated it.
                
> Capacity scheduler - containers that get reserved create container token to 
> early
> ---------------------------------------------------------------------------------
>
>                 Key: YARN-180
>                 URL: https://issues.apache.org/jira/browse/YARN-180
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacityscheduler
>    Affects Versions: 0.23.3
>            Reporter: Thomas Graves
>            Assignee: Arun C Murthy
>            Priority: Critical
>             Fix For: 2.0.3-alpha, 0.23.5
>
>         Attachments: YARN-180-branch_0.23.patch, YARN-180.patch, 
> YARN-180.patch, YARN-180.patch
>
>
> The capacity scheduler has the ability to 'reserve' containers.  
> Unfortunately before it decides that it goes to reserved rather then 
> assigned, the Container object is created which creates a container token 
> that expires in roughly 10 minutes by default.  
> This means that by the time the NM frees up enough space on that node for the 
> container to move to assigned the container token may have expired.

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