For slider+docker,  the config settings are in appConfig.json and 
metainfo.json. Would you be able to suggest equivalent configs?
Thanks,
-Dheeren Bebortha


> On Jul 23, 2015, at 9:58 PM, Sumit Mohanty <[email protected]> wrote:
> 
> You can use ....
> 
>        <autoStartOnFailure>true</autoStartOnFailure>
> 
> E.g. from storm package 
> 
> ...<component>
>        <name>DRPC_SERVER</name>
>        <category>MASTER</category>
>        <autoStartOnFailure>true</autoStartOnFailure>
>        <maxInstanceCount>1</maxInstanceCount>
>        <commandScript>
>          <script>scripts/drpc_server.py</script>
>          <scriptType>PYTHON</scriptType>
>          <timeout>600</timeout>
>        </commandScript>
>      </component>...
> ________________________________________
> From: Dheeren Bebortha <[email protected]>
> Sent: Thursday, July 23, 2015 9:49 PM
> To: [email protected]
> Subject: Settings for slider component restart on failure
> 
> I recently tested slider.0.80  for dockerized applications with some of the 
> recent patches. The latest document is so much better.
> 
> I was assuming/expecting that the application components could be restarted 
> automatically on failure. But it does not. I looked at the slider agent code 
> and there seem to be some configurations that can be used to do this. Can 
> some one provide the required settings for component restart on failures?
> 
> Thanks in advance.
> 
> -Dheeren

Reply via email to