You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2016/06/15 22:30:10 UTC

[jira] [Resolved] (REEF-1454) onResourceLaunch should not throw exception if evaluator is failed

     [ https://issues.apache.org/jira/browse/REEF-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Weimer resolved REEF-1454.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.16

Resolved via [#1045|https://github.com/apache/reef/pull/1045]

> 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
>             Fix For: 0.16
>
>
> 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)