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] [Resolved] (REEF-1380) HeartbeatManager can trigger a NullReferenceException if Evaluator operation state is [OPERATIONAL] and runtime state is [FAILED]
Date Thu, 05 May 2016 17:35:13 GMT

     [ 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)

Mime
View raw message