You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by Kapoor <ka...@capecode.in> on 2013/07/30 14:37:55 UTC
Query on ContainerRequest
Does ContainerRequest guarantees containers allocated asked on specific
nodes ?
public ContainerRequest(Resource capability, String[] nodes,
String[] racks, Priority priority, int containerCount)
--
*Thanks and Regards*
*Kapoor*
*
*
*Twitter: @kapoorSunny*
Re: Query on ContainerRequest
Posted by Sandy Ryza <sa...@cloudera.com>.
Hi Kapoor,
Blacklisting as described in YARN-398 is not the preferred way to
accomplish this. You should use the ContainerRequest constructor that has
a relaxLocality paramater, and set it to false. This was introduced in
YARN-521, and will be included in 2.1.0-beta.
-Sandy
On Tue, Jul 30, 2013 at 6:45 AM, Devaraj k <de...@huawei.com> wrote:
> It provides more control for whitelisting/blacklisting of resources for
> your application. You need to send the requests to RM on those specific
> nodes and blacklist ANY.
>
>
> Thanks
> Devaraj k
>
>
> -----Original Message-----
> From: Kapoor [mailto:kapoor@capecode.in]
> Sent: 30 July 2013 18:47
> To: yarn-dev@hadoop.apache.org
> Subject: Re: Query on ContainerRequest
>
> Thanks for the jira link Devraj.
>
> Just curious, If i want to run my application on dictated nodes then, I
> have to blacklist rest of the nodes which I don't want for the application ?
>
>
>
> On Tue, Jul 30, 2013 at 6:40 PM, Devaraj k <de...@huawei.com> wrote:
>
> > You can go through this https://issues.apache.org/jira/browse/YARN-398
> >
> > Thanks
> > Devaraj k
> >
> > -----Original Message-----
> > From: Kapoor [mailto:kapoor@capecode.in]
> > Sent: 30 July 2013 18:08
> > To: yarn-dev@hadoop.apache.org
> > Subject: Query on ContainerRequest
> >
> > Does ContainerRequest guarantees containers allocated asked on
> > specific nodes ?
> >
> > public ContainerRequest(Resource capability, String[] nodes,
> > String[] racks, Priority priority, int containerCount)
> >
> >
> >
> > --
> > *Thanks and Regards*
> > *Kapoor*
> > *
> > *
> > *Twitter: @kapoorSunny*
> >
>
>
>
> --
> *Thanks and Regards*
> *Kapoor*
> *
> *
> *Twitter: @kapoorSunny*
>
RE: Query on ContainerRequest
Posted by Devaraj k <de...@huawei.com>.
It provides more control for whitelisting/blacklisting of resources for your application. You need to send the requests to RM on those specific nodes and blacklist ANY.
Thanks
Devaraj k
-----Original Message-----
From: Kapoor [mailto:kapoor@capecode.in]
Sent: 30 July 2013 18:47
To: yarn-dev@hadoop.apache.org
Subject: Re: Query on ContainerRequest
Thanks for the jira link Devraj.
Just curious, If i want to run my application on dictated nodes then, I have to blacklist rest of the nodes which I don't want for the application ?
On Tue, Jul 30, 2013 at 6:40 PM, Devaraj k <de...@huawei.com> wrote:
> You can go through this https://issues.apache.org/jira/browse/YARN-398
>
> Thanks
> Devaraj k
>
> -----Original Message-----
> From: Kapoor [mailto:kapoor@capecode.in]
> Sent: 30 July 2013 18:08
> To: yarn-dev@hadoop.apache.org
> Subject: Query on ContainerRequest
>
> Does ContainerRequest guarantees containers allocated asked on
> specific nodes ?
>
> public ContainerRequest(Resource capability, String[] nodes,
> String[] racks, Priority priority, int containerCount)
>
>
>
> --
> *Thanks and Regards*
> *Kapoor*
> *
> *
> *Twitter: @kapoorSunny*
>
--
*Thanks and Regards*
*Kapoor*
*
*
*Twitter: @kapoorSunny*
Re: Query on ContainerRequest
Posted by Kapoor <ka...@capecode.in>.
Thanks for the jira link Devraj.
Just curious, If i want to run my application on dictated nodes then, I
have to blacklist rest of the nodes which I don't want for the application ?
On Tue, Jul 30, 2013 at 6:40 PM, Devaraj k <de...@huawei.com> wrote:
> You can go through this https://issues.apache.org/jira/browse/YARN-398
>
> Thanks
> Devaraj k
>
> -----Original Message-----
> From: Kapoor [mailto:kapoor@capecode.in]
> Sent: 30 July 2013 18:08
> To: yarn-dev@hadoop.apache.org
> Subject: Query on ContainerRequest
>
> Does ContainerRequest guarantees containers allocated asked on specific
> nodes ?
>
> public ContainerRequest(Resource capability, String[] nodes,
> String[] racks, Priority priority, int containerCount)
>
>
>
> --
> *Thanks and Regards*
> *Kapoor*
> *
> *
> *Twitter: @kapoorSunny*
>
--
*Thanks and Regards*
*Kapoor*
*
*
*Twitter: @kapoorSunny*
RE: Query on ContainerRequest
Posted by Devaraj k <de...@huawei.com>.
You can go through this https://issues.apache.org/jira/browse/YARN-398
Thanks
Devaraj k
-----Original Message-----
From: Kapoor [mailto:kapoor@capecode.in]
Sent: 30 July 2013 18:08
To: yarn-dev@hadoop.apache.org
Subject: Query on ContainerRequest
Does ContainerRequest guarantees containers allocated asked on specific nodes ?
public ContainerRequest(Resource capability, String[] nodes,
String[] racks, Priority priority, int containerCount)
--
*Thanks and Regards*
*Kapoor*
*
*
*Twitter: @kapoorSunny*