-Re: Container allocation on the same node
Krishna Kishore Bonagiri 2013-06-12, 13:45
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
> 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
> > 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
> > 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
> > 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