You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Andrew Chung (JIRA)" <ji...@apache.org> on 2016/05/04 22:36:12 UTC

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

Andrew Chung created REEF-1380:
----------------------------------

             Summary: 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


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}

We should not call {{_driverConnection.GetDriverInformation();}} on a failed Evaluator.



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