>From a YARN perspective you don't, its up to the Application Master to do
so and as we have discussed that is going to require A) Native YARN App, or
B) YARN-796 with Slider integration. As your deploying a Slider app its
really just a YARN container and as such can be provisioned anywhere that
YARN has the resources to deploy this application.

What is the application your making the requires its services to only have
a single instance per node?


On Mon, Aug 4, 2014 at 4:48 PM, [email protected] <[email protected]> wrote:

> Thanks guys, so my next question is how can you guarantee containers are
> allocated on different nodes?
>
>
> Best,
> Siyuan
>
>
> On Mon, Aug 4, 2014 at 1:02 PM, Sumit Mohanty <[email protected]>
> wrote:
>
> > +1 to Joe's explanation.
> >
> > Slider plans to use the "label" support enabled through YARN-796 and
> allow
> > creation of app instances against a label. This way you can ensure that
> the
> > app instance has containers allocated only on a subset of the nodes.
> >
> >
> > On Mon, Aug 4, 2014 at 12:15 PM, Joseph Niemiec <
> [email protected]>
> > wrote:
> >
> > > I'll let someone else chime in here but my assumption is this will
> > require
> > > YARN-796 and then have Slider expose the config somehow which from my
> > > exploration has yet to be done.
> > >
> > > Outside of Slider if you wrote your own AM you can control this today
> in
> > > your resourcerequest to the RM.
> > >
> > > https://issues.apache.org/jira/browse/YARN-796
> > >
> > >
> > > On Mon, Aug 4, 2014 at 2:37 PM, [email protected] <[email protected]>
> > wrote:
> > >
> > > > Hi guys,
> > > >
> > > > I'm new to slider and try to convert some application into yarn app.
> I
> > > > would like to ask is there a way to specify only a subset of nodes in
> > the
> > > > cluster to run my app and can slider guarantee every container(of
> that
> > > > application) run on different nodes?
> > > >
> > > > Thank you very much!
> > > >
> > > > Best,
> > > > Siyuan
> > > >
> > >
> > >
> > >
> > > --
> > > Hortonworks Certified Hadoop 2 Java Developer
> > >
> > >  Solutions Engineer, Hortonworks
> > > Phone:     Office (734)-288-3930   Mobile (734)-301-9812
> > > Email:      [email protected]
> > >
> > > Apache Hadoop YARN: Moving beyond MapReduce and Batch Processing with
> > > Apache Hadoop 2
> > > <
> > >
> >
> http://www.amazon.com/Apache-Hadoop-YARN-Processing-Addison-Wesley/dp/0321934504
> > > >
> > >
> > > --
> > > CONFIDENTIALITY NOTICE
> > > NOTICE: This message is intended for the use of the individual or
> entity
> > to
> > > which it is addressed and may contain information that is confidential,
> > > privileged and exempt from disclosure under applicable law. If the
> reader
> > > of this message is not the intended recipient, you are hereby notified
> > that
> > > any printing, copying, dissemination, distribution, disclosure or
> > > forwarding of this communication is strictly prohibited. If you have
> > > received this communication in error, please contact the sender
> > immediately
> > > and delete it from your system. Thank You.
> > >
> >
> > --
> > CONFIDENTIALITY NOTICE
> > NOTICE: This message is intended for the use of the individual or entity
> to
> > which it is addressed and may contain information that is confidential,
> > privileged and exempt from disclosure under applicable law. If the reader
> > of this message is not the intended recipient, you are hereby notified
> that
> > any printing, copying, dissemination, distribution, disclosure or
> > forwarding of this communication is strictly prohibited. If you have
> > received this communication in error, please contact the sender
> immediately
> > and delete it from your system. Thank You.
> >
>



-- 
Hortonworks Certified Hadoop 2 Java Developer

 Solutions Engineer, Hortonworks
Phone:     Office (734)-288-3930   Mobile (734)-301-9812
Email:      [email protected]

Apache Hadoop YARN: Moving beyond MapReduce and Batch Processing with
Apache Hadoop 2
<http://www.amazon.com/Apache-Hadoop-YARN-Processing-Addison-Wesley/dp/0321934504>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to