Would I be able to specify a different WAR for each instance of the slider package, and change the application name?
Ok the port pool is interesting. So if I specify a port range here, can I use the same port pool in a jetty configuration such as ${JETTY_PORT_POOL}{PER_CONTAINER} so that the different instances of the slider application would pull from the same pool? On Tue, Mar 1, 2016 at 9:18 AM Jon Maron <jma...@hortonworks.com> wrote: > > > On Mar 1, 2016, at 9:07 AM, Roshan Punnoose <rosh...@gmail.com> wrote: > > > > Hi, > > > > On my current application, we are looking to deploy jetty apps in Slider, > > to allow the ability to provision them in Yarn and also to flex them as > > needed. What I would like to do is have a separate slider application per > > Jetty Base/WAR that I am deploying, and have Slider negotiate the ports > > based on a global port pool. Is this possible? > > For the first requirement, would it be sufficient to define a jetty app > package and simply deploy multiple instances? You’d be leveraging the same > jetty instance, but starting separate instances in the cluster (the app > name would be changed, and you could do some modification of the app > configuration and resources) > > For the second - the port pool is a set of ports allocated across the > cluster, or a defined set of ports allowed on a per host basis? for the > latter there is an existing configuration: > http://slider.apache.org/docs/configuration/core.html#controlling-assigned-port-ranges > > > Basically, I just want to > > make sure that multiple slider applications can use the same port pool > > without stepping on each other. > > > > Roshan > >