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 <[email protected]> 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:[email protected]]
> Sent: 30 July 2013 18:47
> To: [email protected]
> 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 <[email protected]> wrote:
>
> > You can go through this https://issues.apache.org/jira/browse/YARN-398
> >
> > Thanks
> > Devaraj k
> >
> > -----Original Message-----
> > From: Kapoor [mailto:[email protected]]
> > Sent: 30 July 2013 18:08
> > To: [email protected]
> > 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*
>

Reply via email to