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

Hitesh Shah commented on YARN-1048:
-----------------------------------

[~josephkniest] That would be org.apache.hadoop.yarn.api.records.Container. 
General information on the api package - it will be restricted to classes 
within the api layer and nothing from other server-side/impl packages.
                
> Add new AMRMClientAsync.getMatchingRequests method taking a Container as 
> parameter
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-1048
>                 URL: https://issues.apache.org/jira/browse/YARN-1048
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: api
>    Affects Versions: 2.1.0-beta
>            Reporter: Alejandro Abdelnur
>
> The current method signature {{getMatchingRequests(Priority priority, String 
> resourceName, Resource resource)}} for using within 
> {{onContainersAllocated(List<Container> containers)}} as we have to 
> deconstruct the info from the received containers.
> A new signature, {{getMatchingRequests(Container container)}} would simplify 
> usage for clients.

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