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 2015/08/19 21:49:46 UTC

[jira] [Comment Edited] (REEF-607) Race condition in TaskDone and EvaluatorDone observed in .NET

    [ https://issues.apache.org/jira/browse/REEF-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14703639#comment-14703639 ] 

Andrew Chung edited comment on REEF-607 at 8/19/15 7:49 PM:
------------------------------------------------------------

This is actually caused by {{EventHandlerIdlenessSource}} always returning idle, even for the {{NOT_IDLE}} case.
{code}
  private static final IdleMessage NOT_IDLE_MESSAGE =
      new IdleMessage("EventHandlers", "Some events are still in flight.", true);
{code}
A test should be added along with the PR for this fix.


was (Author: afchung90):
This is actually caused by ``EventHandlerIdlenessSource`` always returning idle, even for the ``NOT_IDLE`` case.
{code}
  private static final IdleMessage NOT_IDLE_MESSAGE =
      new IdleMessage("EventHandlers", "Some events are still in flight.", true);
{code}
A test should be added along with the PR for this fix.

> Race condition in TaskDone and EvaluatorDone observed in .NET
> -------------------------------------------------------------
>
>                 Key: REEF-607
>                 URL: https://issues.apache.org/jira/browse/REEF-607
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF Driver, REEF.NET, REEF.NET Evaluator
>         Environment: observed in REEF.NET on HDInsight
>            Reporter: Andrew Chung
>            Assignee: Andrew Chung
>
> A race condition exists such that when the final outstanding Evaluator finishes its task, the driver indicates idle from the EvaluatorManager and closes the clock before invoking the onTaskCompletedHandler for that final task.



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