You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myriad.apache.org by "Santosh Marella (JIRA)" <ji...@apache.org> on 2015/10/22 12:36:27 UTC
[jira] [Commented] (MYRIAD-136) Need to handle TASK_ERROR in
StatusUpdateEventHandler
[ https://issues.apache.org/jira/browse/MYRIAD-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14968930#comment-14968930 ]
Santosh Marella commented on MYRIAD-136:
----------------------------------------
I agree with [~yufeldman]. From what I understood, TASK_ERROR is returned when a task fails to launch, mostly due to a command error. vs TASK_FAILED is returned when the task is successfully launched, but the task exits with non-zero due to, say a NPE.
In both the cases, I think we should just remove the task, log an error message and not make an attempt to relaunch it.
> Need to handle TASK_ERROR in StatusUpdateEventHandler
> -----------------------------------------------------
>
> Key: MYRIAD-136
> URL: https://issues.apache.org/jira/browse/MYRIAD-136
> Project: Myriad
> Issue Type: Bug
> Reporter: Yuliya Feldman
> Fix For: Myriad 0.1.0
>
>
> In StatusUpdateEventHandler we do not handle TASK_ERROR at all.
> Need to act on it, otherwise nothing happens when launched task returns with TASK_ERROR
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)