[ 
https://issues.apache.org/jira/browse/SLIDER-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14218899#comment-14218899
 ] 

Beckham007 commented on SLIDER-494:
-----------------------------------

We can assign a "componentType" for each component. The componentType is 
batch(short lived service) or service(long lived service). When component exit 
code is zero and the componentType is batch, the component finishes 
normally(The Slider Agent could get the exit code of component?). Otherwise, 
the Slider AppMaster should retry it.

> Support for short-lived services
> --------------------------------
>
>                 Key: SLIDER-494
>                 URL: https://issues.apache.org/jira/browse/SLIDER-494
>             Project: Slider
>          Issue Type: Bug
>          Components: app-package, appmaster
>    Affects Versions: Slider 0.50
>            Reporter: Sumit Mohanty
>             Fix For: Slider 2.0.0
>
>
> Slider applications could be short lived in the sense that the component 
> instances are not daemons but are processes that stop after they are done. 
> These processes may also fail in which case they may be auto-restarted or 
> they can complete gracefully in which case the application instance should 
> terminate (when all component instances are complete).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to