reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Chung (JIRA)" <j...@apache.org>
Subject [jira] [Created] (REEF-1380) HeartbeatManager can trigger a NullReferenceException if Evaluator operation state is [OPERATIONAL] and runtime state is [FAILED]
Date Wed, 04 May 2016 22:36:12 GMT
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)

Mime
View raw message