Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> Container allocation on the same node

Copy link to this message
Re: Container allocation on the same node
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.

On Wed, Jun 12, 2013 at 6:45 PM, Harsh J <[EMAIL PROTECTED]> 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
> <[EMAIL PROTECTED]> 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