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/05/05 17:35:13 UTC

[jira] [Resolved] (REEF-1380) HeartbeatManager can trigger a NullReferenceException if Evaluator operation state is [OPERATIONAL] and runtime state is [FAILED]

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

Markus Weimer resolved REEF-1380.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.15

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

> HeartbeatManager can trigger a NullReferenceException if Evaluator operation state is [OPERATIONAL] and runtime state is [FAILED]
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: REEF-1380
>                 URL: https://issues.apache.org/jira/browse/REEF-1380
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF.NET, REEF.NET Evaluator
>            Reporter: Andrew Chung
>            Assignee: Andrew Chung
>             Fix For: 0.15
>
>
> This is caused by the following line of code:
> {code}
> if (_evaluatorSettings.OperationState == EvaluatorOperationState.OPERATIONAL && EvaluatorRuntime.State == State.RUNNING)
> {
>   // code
> } else {
>   // code
>   DriverInformation driverInformation = _driverConnection.GetDriverInformation();
>   // code
> }
> {code}
> We should not call {{_driverConnection.GetDriverInformation();}} on a failed Evaluator.



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