This is in the appConfig-default.json
"site.storm-site.supervisor.slots.ports":
"[${SUPERVISOR.ALLOCATED_PORT}{PER_CONTAINER},${SUPERVISOR.ALLOCATED_PORT}{PER_CONTAINER}]"

Maybe the brackets placement is wrong?

On Fri, Jan 13, 2017 at 2:30 PM, Telles Nobrega <tenob...@redhat.com> wrote:

> I'm actually not specifying those values, I don't know where they come
> from. I'm using plaingly the zip file that Panagiotis showed me.
>
> On Fri, Jan 13, 2017 at 2:22 PM, Gour Saha <gs...@hortonworks.com> wrote:
>
>> Are you specifying the square brackets "[ ]" in the port range? If yes,
>> then you need to remove them. Just specify the integers (comma separated).
>>
>> -Gour
>>
>> On 1/13/17, 8:59 AM, "Telles Nobrega" <tenob...@redhat.com> wrote:
>>
>> >Hey guys, thanks for your help so far. I've been able to deploy slider
>> >start it properly and now I'm trying to deploy storm app. I'm using the
>> >zip
>> >that Panagiotis suggested but I'm getting this error when it tries to
>> >deploy
>> >
>> >2017-01-13 16:38:22,231 [1269430493@qtp-1276410298-5] INFO
>> >agent.AgentProviderService - Recording allocated port for
>> >storm-site.logviewer.port as 34825
>> >2017-01-13 16:38:22,231 [1269430493@qtp-1276410298-5] INFO
>> >agent.AgentProviderService - Recording allocated port for
>> >storm-site.supervisor.slots.ports as [38387,58177]
>> >2017-01-13 16:38:22,232 [1269430493@qtp-1276410298-5] WARN
>> >agent.AgentProviderService - Failed to parse [38387,58177]
>> >java.lang.NumberFormatException: For input string: "[38387,58177]"
>> >       at
>> >java.lang.NumberFormatException.forInputString(NumberFormat
>> Exception.java:
>> >65)
>> >       at java.lang.Integer.parseInt(Integer.java:492)
>> >       at java.lang.Integer.valueOf(Integer.java:582)
>> >       at
>> >org.apache.slider.providers.agent.AgentProviderService.proc
>> essAllocatedPor
>> >ts(AgentProviderService.java:1188)
>> >       at
>> >org.apache.slider.providers.agent.AgentProviderService.hand
>> leHeartBeat(Age
>> >ntProviderService.java:978)
>> >       at
>> >org.apache.slider.server.appmaster.web.rest.agent.AgentReso
>> urce.heartbeat(
>> >AgentResource.java:98)
>> >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >       at
>> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcc
>> essorImpl.java:
>> >57)
>> >       at
>> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingM
>> ethodAccessorIm
>> >pl.java:43)
>> >       at java.lang.reflect.Method.invoke(Method.java:606)
>> >       at
>> >com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.inv
>> oke(JavaMethodI
>> >nvokerFactory.java:60)
>> >       at
>> >com.sun.jersey.server.impl.model.method.dispatch.AbstractRe
>> sourceMethodDis
>> >patchProvider$TypeOutInvoker._dispatch(AbstractResourceMeth
>> odDispatchProvi
>> >der.java:185)
>> >       at
>> >com.sun.jersey.server.impl.model.method.dispatch.ResourceJa
>> vaMethodDispatc
>> >her.dispatch(ResourceJavaMethodDispatcher.java:75)
>> >       at
>> >com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(
>> HttpMethodRule.
>> >java:288)
>> >       at
>> >com.sun.jersey.server.impl.uri.rules.RightHandPathRule.acce
>> pt(RightHandPat
>> >hRule.java:147)
>> >       at
>> >com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(
>> SubLocatorRule.
>> >java:134)
>> >       at
>> >com.sun.jersey.server.impl.uri.rules.RightHandPathRule.acce
>> pt(RightHandPat
>> >hRule.java:147)
>> >       at
>> >com.sun.jersey.server.impl.uri.rules.ResourceClassRule.acce
>> pt(ResourceClas
>> >sRule.java:108)
>> >       at
>> >com.sun.jersey.server.impl.uri.rules.RightHandPathRule.acce
>> pt(RightHandPat
>> >hRule.java:147)
>> >       at
>> >com.sun.jersey.server.impl.uri.rules.RootResourceClassesRul
>> e.accept(RootRe
>> >sourceClassesRule.java:84)
>> >       at
>> >com.sun.jersey.server.impl.application.WebApplicationImpl._
>> handleRequest(W
>> >ebApplicationImpl.java:1469)
>> >       at
>> >com.sun.jersey.server.impl.application.WebApplicationImpl._
>> handleRequest(W
>> >ebApplicationImpl.java:1400)
>> >       at
>> >com.sun.jersey.server.impl.application.WebApplicationImpl.h
>> andleRequest(We
>> >bApplicationImpl.java:1349)
>> >       at
>> >com.sun.jersey.server.impl.application.WebApplicationImpl.h
>> andleRequest(We
>> >bApplicationImpl.java:1339)
>> >       at
>> >com.sun.jersey.spi.container.servlet.WebComponent.service(W
>> ebComponent.jav
>> >a:416)
>> >       at
>> >com.sun.jersey.spi.container.servlet.ServletContainer.servi
>> ce(ServletConta
>> >iner.java:537)
>> >       at
>> >com.sun.jersey.spi.container.servlet.ServletContainer.servi
>> ce(ServletConta
>> >iner.java:699)
>> >       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> >       at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder
>> .java:511)
>> >       at
>> >org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
>> >       at
>> >org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>> >       at
>> >org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>> >       at
>> >org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>> >       at org.mortbay.jetty.Server.handle(Server.java:326)
>> >       at
>> >org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>> >       at
>> >org.mortbay.jetty.HttpConnection$RequestHandler.content(
>> HttpConnection.jav
>> >a:945)
>> >       at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
>> >       at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:
>> 218)
>> >       at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:
>> 404)
>> >       at
>> >org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelE
>> ndPoint.java:41
>> >0)
>> >       at
>> >org.mortbay.thread.QueuedThreadPool$PoolThread.run(
>> QueuedThreadPool.java:5
>> >82)
>> >
>> >
>> >Have you seen this?
>> >
>> >
>> >Thanks
>> >
>> >
>> >On Thu, Jan 12, 2017 at 6:08 PM, Telles Nobrega <tenob...@redhat.com>
>> >wrote:
>> >
>> >> Actually, I figured out some of the problems. Still trying to make it
>> >> work. I will bring up more questions when they come up.
>> >>
>> >> On Thu, Jan 12, 2017 at 4:01 PM, Telles Nobrega <tenob...@redhat.com>
>> >> wrote:
>> >>
>> >>> Hi again, I'm following this tutorial
>> >>> <http://slider.incubator.apache.org/docs/getting_started.
>> html#download>
>> >>> to install Slider but I'm getting some weird stuff. For example, it
>> >>>says to
>> >>> run ${slider-install-dir}/slider-0.80.0-incubating/bin/slider version
>> >>> but inside the bin folder there isn't a slider file. Is this tutorial
>> >>>still
>> >>> valid? Can you suggest me a more updated guide?
>> >>>
>> >>> Thanks
>> >>>
>> >>> On Wed, Jan 4, 2017 at 2:48 PM, Panagiotis Garefalakis <
>> >>> panga...@gmail.com> wrote:
>> >>>
>> >>>> Hello,
>> >>>>
>> >>>> Thats correct, you can use any of the machines. I am using a Hadoop
>> >>>>node
>> >>>> myself.
>> >>>>
>> >>>> Cheers,
>> >>>> Panagiotis
>> >>>>
>> >>>> On Wed, Jan 4, 2017 at 7:44 PM, Gour Saha <gs...@hortonworks.com>
>> >>>>wrote:
>> >>>>
>> >>>> > Yes, you can install Slider client on only one of the m/c in your
>> >>>> cluster
>> >>>> > and submit jobs from there.
>> >>>> >
>> >>>> > On 1/4/17, 8:49 AM, "Telles Nobrega" <tenob...@redhat.com> wrote:
>> >>>> >
>> >>>> > >Hi, Panagiotis, thanks for your response. I have another question
>> >>>>on
>> >>>> this,
>> >>>> > >the instalation of slider can be done on one of the nodes of the
>> >>>> Hadoop
>> >>>> > >cluster?
>> >>>> > >
>> >>>> > >On Wed, Dec 7, 2016 at 7:20 AM, Panagiotis Garefalakis
>> >>>> > ><panga...@gmail.com>
>> >>>> > >wrote:
>> >>>> > >
>> >>>> > >> Haven't tested that specific version but I am quite sure older
>> >>>> versions
>> >>>> > >> work.
>> >>>> > >> The easiest way would be to use an existing slider-storm package
>> >>>> like
>> >>>> > >>this
>> >>>> > >> one
>> >>>> > >> <http://code.ithunder.org/hdp/HDP/ubuntu14/2.x/updates/2.3.
>> >>>> > >> 2.0/slider-app-packages/storm/>
>> >>>> > >> .
>> >>>> > >>
>> >>>> > >> Cheers,
>> >>>> > >> Panagiotis
>> >>>> > >>
>> >>>> > >> On Wed, Dec 7, 2016 at 6:41 AM, Gour Saha <
>> gs...@hortonworks.com>
>> >>>> > wrote:
>> >>>> > >>
>> >>>> > >> > What issue do you see when you try to upload logs to jira?
>> >>>> > >> >
>> >>>> > >> > What error do you see when you run Storm app-package maven
>> cmd?
>> >>>> > >> >
>> >>>> > >> > -Gour
>> >>>> > >> >
>> >>>> > >> > On 11/30/16, 12:29 PM, "Telles Nobrega" <tenob...@redhat.com>
>> >>>> wrote:
>> >>>> > >> >
>> >>>> > >> > >Hi, thanks for your response. I tried to open an issue on
>> jira
>> >>>> but it
>> >>>> > >> > >kinda
>> >>>> > >> > >failed with the log file. Is there a better way for me to get
>> >>>>the
>> >>>> > >>logs
>> >>>> > >> to
>> >>>> > >> > >you guys?
>> >>>> > >> > >
>> >>>> > >> > >By the way, I'm running a Hadoop 2.7.1 cluster on CentOS7.
>> >>>> Compiling
>> >>>> > >> > >Sliders seems to be working, I get the Compiled against
>> Hadoop
>> >>>> 2.7.1
>> >>>> > >> > >message and all. But it fails when I try to run Storm app
>> >>>>package
>> >>>> > >>maven
>> >>>> > >> > >command.
>> >>>> > >> > >
>> >>>> > >> > >On Thu, Nov 24, 2016 at 4:07 PM, Gour Saha <
>> >>>> gs...@hortonworks.com>
>> >>>> > >> wrote:
>> >>>> > >> > >
>> >>>> > >> > >> Please let us know what issue you are seeing. If you have
>> >>>>logs
>> >>>> or
>> >>>> > >> files
>> >>>> > >> > >>to
>> >>>> > >> > >> share, best is to open a Slider jira and upload them there.
>> >>>> > >> > >>
>> >>>> > >> > >> -Gour
>> >>>> > >> > >>
>> >>>> > >> > >>
>> >>>> > >> > >> > On Nov 24, 2016, at 9:07 AM, Telles Nobrega <
>> >>>> tenob...@redhat.com
>> >>>> > >
>> >>>> > >> > >>wrote:
>> >>>> > >> > >> >
>> >>>> > >> > >> > Hi thanks, congrats on the Slider project.
>> >>>> > >> > >> >
>> >>>> > >> > >> > I'm trying to run storm on slider but I'm hitting some
>> >>>> issues on
>> >>>> > >>the
>> >>>> > >> > >>way.
>> >>>> > >> > >> > Can you clarify to me if Storm 1.0.1 is supported on
>> >>>>slider?
>> >>>> If
>> >>>> > >>not,
>> >>>> > >> > >>what
>> >>>> > >> > >> > is the newest version that is supported?
>> >>>> > >> > >> >
>> >>>> > >> > >> > Thanks in advance,
>> >>>> > >> > >> >
>> >>>> > >> > >> >
>> >>>> > >> > >> >
>> >>>> > >> > >> > --
>> >>>> > >> > >> > [image: Red Hat] <http://www.redhat.com.br/>
>> >>>> > >> > >> > Telles Nobrega | Software Engineer
>> >>>> > >> > >> > Red Hat Brasil
>> >>>> > >> > >> > T: +55 11 3529-6000 | M: +55 11 9 9910-1689
>> >>>> > >> > >> > Av. Brigadeiro Faria Lima 3900, 8° Andar. São Paulo,
>> >>>>Brasil.
>> >>>> > >> > >> > RED HAT | TRIED. TESTED. TRUSTED. Saiba porque em
>> >>>>redhat.com
>> >>>> > >> > >> > <https://www.redhat.com/pt-br/about/trusted>
>> >>>> > >> > >>
>> >>>> > >> > >
>> >>>> > >> > >
>> >>>> > >> > >
>> >>>> > >> > >--
>> >>>> > >> > >[image: Red Hat] <http://www.redhat.com.br/>
>> >>>> > >> > >Telles Nobrega | Software Engineer
>> >>>> > >> > >Red Hat Brasil
>> >>>> > >> > >T: +55 11 3529-6000 | M: +55 11 9 9910-1689
>> >>>> > >> > >Av. Brigadeiro Faria Lima 3900, 8° Andar. São Paulo, Brasil.
>> >>>> > >> > >RED HAT | TRIED. TESTED. TRUSTED. Saiba porque em redhat.com
>> >>>> > >> > ><https://www.redhat.com/pt-br/about/trusted>
>> >>>> > >> >
>> >>>> > >> >
>> >>>> > >>
>> >>>> > >
>> >>>> > >
>> >>>> > >
>> >>>> > >--
>> >>>> > >[image: Red Hat] <http://www.redhat.com.br/>
>> >>>> > >Telles Nobrega | Software Engineer
>> >>>> > >Red Hat Brasil
>> >>>> > >T: +55 11 3529-6000 | M: +55 11 9 9910-1689
>> >>>> > >Av. Brigadeiro Faria Lima 3900, 8° Andar. São Paulo, Brasil.
>> >>>> > >RED HAT | TRIED. TESTED. TRUSTED. Saiba porque em redhat.com
>> >>>> > ><https://www.redhat.com/pt-br/about/trusted>
>> >>>> >
>> >>>> >
>> >>>>
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> [image: Red Hat] <http://www.redhat.com.br/>
>> >>> Telles Nobrega | Software Engineer
>> >>> Red Hat Brasil
>> >>> T: +55 11 3529-6000 <+55%2011%203529-6000> | M: +55 11 9 9910-1689
>> >>> Av. Brigadeiro Faria Lima 3900, 8° Andar. São Paulo, Brasil.
>> >>> RED HAT | TRIED. TESTED. TRUSTED. Saiba porque em redhat.com
>> >>> <https://www.redhat.com/pt-br/about/trusted>
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> [image: Red Hat] <http://www.redhat.com.br/>
>> >> Telles Nobrega | Software Engineer
>> >> Red Hat Brasil
>> >> T: +55 11 3529-6000 <+55%2011%203529-6000> | M: +55 11 9 9910-1689
>> >> Av. Brigadeiro Faria Lima 3900, 8° Andar. São Paulo, Brasil.
>> >> RED HAT | TRIED. TESTED. TRUSTED. Saiba porque em redhat.com
>> >> <https://www.redhat.com/pt-br/about/trusted>
>> >>
>> >
>> >
>> >
>> >--
>> >[image: Red Hat] <http://www.redhat.com.br/>
>> >Telles Nobrega | Software Engineer
>> >Red Hat Brasil
>> >T: +55 11 3529-6000 <+55%2011%203529-6000> | M: +55 11 9 9910-1689
>> >Av. Brigadeiro Faria Lima 3900, 8° Andar. São Paulo, Brasil.
>> >RED HAT | TRIED. TESTED. TRUSTED. Saiba porque em redhat.com
>> ><https://www.redhat.com/pt-br/about/trusted>
>>
>>
>
>
> --
> [image: Red Hat] <http://www.redhat.com.br/>
> Telles Nobrega | Software Engineer
> Red Hat Brasil
> T: +55 11 3529-6000 <+55%2011%203529-6000> | M: +55 11 9 9910-1689
> Av. Brigadeiro Faria Lima 3900, 8° Andar. São Paulo, Brasil.
> RED HAT | TRIED. TESTED. TRUSTED. Saiba porque em redhat.com
> <https://www.redhat.com/pt-br/about/trusted>
>



-- 
[image: Red Hat] <http://www.redhat.com.br/>
Telles Nobrega | Software Engineer
Red Hat Brasil
T: +55 11 3529-6000 | M: +55 11 9 9910-1689
Av. Brigadeiro Faria Lima 3900, 8° Andar. São Paulo, Brasil.
RED HAT | TRIED. TESTED. TRUSTED. Saiba porque em redhat.com
<https://www.redhat.com/pt-br/about/trusted>

Reply via email to