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

Steve Loughran commented on SLIDER-1021:
----------------------------------------

...even if the AM web server couldn't start up as HTTPS, it was exiting with 
code 0. What was happening is that the returned value of any provider-origin 
exception was overwriting the value.

fix: the provider exit code is logged but not listened to.

> Exceptions raised during AM launch don't trigger exit code AM failures
> ----------------------------------------------------------------------
>
>                 Key: SLIDER-1021
>                 URL: https://issues.apache.org/jira/browse/SLIDER-1021
>             Project: Slider
>          Issue Type: Bug
>          Components: appmaster
>    Affects Versions: Slider 0.81
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>             Fix For: Slider 0.90
>
>
> It looks like exceptions raised in AM launch failure, while being caught, 
> don't have their exit code picked up. Any launch-time failure should result 
> in an exit code being returned, which then tells the YARN to restart it.



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

Reply via email to