reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Weimer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (REEF-1454) onResourceLaunch should not throw exception if evaluator is failed
Date Wed, 15 Jun 2016 14:57:09 GMT

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

Markus Weimer commented on REEF-1454:
-------------------------------------

Agreed. Killed should also trigger a failed evaluator.

> onResourceLaunch should not throw exception if evaluator is failed
> ------------------------------------------------------------------
>
>                 Key: REEF-1454
>                 URL: https://issues.apache.org/jira/browse/REEF-1454
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF-Common
>            Reporter: Mariia Mykhailova
>            Assignee: Mariia Mykhailova
>
> If evaluator fails before task is submitted, {{EvaluatorManager.onResourceLaunch}} will
find evaluator in failed state and throw a runtime exception reporting unexpected state. But
in this case {{FailedEvaluator}} event should have already been generated (when evaluator
state was set to failed), and the exception is not needed. We need to fix the code to not
throw exception.



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

Mime
View raw message