Return-Path: X-Original-To: apmail-reef-dev-archive@minotaur.apache.org Delivered-To: apmail-reef-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE6ED186D6 for ; Thu, 31 Mar 2016 23:03:25 +0000 (UTC) Received: (qmail 32715 invoked by uid 500); 31 Mar 2016 23:03:25 -0000 Delivered-To: apmail-reef-dev-archive@reef.apache.org Received: (qmail 32686 invoked by uid 500); 31 Mar 2016 23:03:25 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 32665 invoked by uid 99); 31 Mar 2016 23:03:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Mar 2016 23:03:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9ACD32C033A for ; Thu, 31 Mar 2016 23:03:25 +0000 (UTC) Date: Thu, 31 Mar 2016 23:03:25 +0000 (UTC) From: "Andrew Chung (JIRA)" To: dev@reef.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (REEF-976) Fix broken C# Tests caused by race condition of local RM MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/REEF-976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Chung updated REEF-976: ------------------------------ Labels: FT (was: ) > Fix broken C# Tests caused by race condition of local RM > -------------------------------------------------------- > > Key: REEF-976 > URL: https://issues.apache.org/jira/browse/REEF-976 > Project: REEF > Issue Type: Bug > Components: REEF-Tests, REEF.NET > Reporter: Andrew Chung > Assignee: Andrew Chung > Labels: FT > > There is a race condition in REEF-Local-Runtime, and it can happen as follows: > # The Evaluator sends the {{DONE}} message and exits its process. > # The RM discovers Evaluator ends, sends {{DONE}} message to Driver. > # Driver first gets {{DONE}} message from RM before getting reading the {{DONE}} message from the Evaluator in its network queue. > # Driver calls {{FailedEvaluatorHandler}}, even though the Evaluator shuts down properly. > This can be fixed by requiring an {{ACK}} from the Driver prior to letting the Evaluator exit its process. -- This message was sent by Atlassian JIRA (v6.3.4#6332)