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

Terence Yim commented on TWILL-180:
-----------------------------------

Supposedly the failure can be get via the {{Future}} returned by the 
{{teraminte()}} call. However, currently the {{YarnTwillController}} 
implementation doesn't really reflect the failure state in the future.

> TwillController.onTerminated() should pass the exit status of the app to the 
> callback
> -------------------------------------------------------------------------------------
>
>                 Key: TWILL-180
>                 URL: https://issues.apache.org/jira/browse/TWILL-180
>             Project: Apache Twill
>          Issue Type: Improvement
>          Components: api, yarn
>    Affects Versions: 0.7.0-incubating
>            Reporter: Andreas Neumann
>            Assignee: Terence Yim
>             Fix For: 0.10.0
>
>
> Listening to this callback, a client can only find out whether an app has 
> terminated, but now how. That makes it hard to distinguish error scenarios: 
> Was the app killed by the user? Did it fail? Or did it successfully complete? 
> There should be an easy way for the client to find out.



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

Reply via email to