hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishna Kishore Bonagiri <write2kish...@gmail.com>
Subject Re: Container allocation on the same node
Date Wed, 12 Jun 2013 13:45:10 GMT
Hi Harsh,

   What will happen when I specify local host as the required host? Doesn't
the resource manager give me all the containers on the local host?  I don't
want to constrain myself to the local host, which might be busy while other
nodes in the cluster have enough resources available for me.

Thanks,
Kishore


On Wed, Jun 12, 2013 at 6:45 PM, Harsh J <harsh@cloudera.com> wrote:

> You can request containers with the local host name as the required
> host, and perhaps reject and re-request if they aren't designated to
> be on that one until you have sufficient. This may take a while
> though.
>
> On Wed, Jun 12, 2013 at 6:25 PM, Krishna Kishore Bonagiri
> <write2kishore@gmail.com> wrote:
> > Hi,
> >
> >   I want to get some containers for my application on the same node, is
> > there a way to make such a request.
> >
> >   For example, I have an application which needs 10 containers, but have
> a
> > constraint that a set of those containers need to be running on the same
> > node. Can I ask my resource manager to give me, let us say 5 containers
> on
> > the same node?
> >
> >   I know that there is now a way to specify the node name on which I
> need a
> > container, but I don't bother which node in the cluster I get them
> allocated
> > on, I just need them on the same node.
> >
> >   Please suggest me if it is possible, and how can I do that?
> >
> > Thanks,
> > Kishore
>
>
>
> --
> Harsh J
>

Mime
View raw message