Hi Steve, This is done with AMRMClient#getMatchingRequests. You feed in the priority, location, and capability of the container you were allocated and it gives you a list of ContainerRequests you filed that could have produced your allocation. Is this sufficient for what you need?
-Sandy On Mon, Sep 23, 2013 at 5:31 AM, Steve Loughran <[email protected]>wrote: > Before I file a JIRA against it, is there an easly/obvious way to go from a > container allocation response, onContainersAllocated(List<Container> > containers), to the specific request made of every container. > > I need to track which requests have been satisfied, and i can't see an easy > way to do it, because the allocation responses don't include any > information on which > requests map to specific containers. As a result, I can't easily track > which container requests are outstanding. > > -steve > > -- > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity to > which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified that > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediately > and delete it from your system. Thank You. >
