hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun C Murthy <...@hortonworks.com>
Subject Re: Mapping ResourceRequest to returned List<Container>
Date Tue, 12 Mar 2013 23:30:03 GMT
YARN doesn't provide this mapping. 

If you really care, you could ask for containers with different Priority and the returned
allocation will tell you what Priority was the origin for the container.


On Mar 12, 2013, at 11:11 AM, David Capwell wrote:

> I had a question on working with yarn.  If I create a ResourceRequest with
> numContainers = 10, do I have any way to map the containers returned
> from getAllocatedContainers to the ResourceRequest?  One solution that I
> was thinking about is saying that request 1 has id range 1-10 but that
> would imply that when yarn returns the container that the id are sequential
> based off the request, not allocated time.  So if I make request 1 and
> request 2 but request 2 gets the resources first, what does container #1
> map to?
> thanks for your time reading this email.

Arun C. Murthy
Hortonworks Inc.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message