Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A707E200B21 for ; Wed, 11 May 2016 22:17:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A5AE9160A17; Wed, 11 May 2016 20:17:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0AE73160A1A for ; Wed, 11 May 2016 22:17:13 +0200 (CEST) Received: (qmail 73379 invoked by uid 500); 11 May 2016 20:17:13 -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 73221 invoked by uid 99); 11 May 2016 20:17:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2016 20:17:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ECD902C1F6B for ; Wed, 11 May 2016 20:17:12 +0000 (UTC) Date: Wed, 11 May 2016 20:17:12 +0000 (UTC) From: "Mariia Mykhailova (JIRA)" To: dev@reef.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (REEF-1388) Fix RunningTask to be sent for short-lived .NET tasks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 11 May 2016 20:17:14 -0000 Mariia Mykhailova created REEF-1388: --------------------------------------- Summary: Fix RunningTask to be sent for short-lived .NET tasks Key: REEF-1388 URL: https://issues.apache.org/jira/browse/REEF-1388 Project: REEF Issue Type: Bug Components: REEF.NET Reporter: Mariia Mykhailova Assignee: Mariia Mykhailova Currently our task start handling code works as follows: 1. Send INIT message to driver. 2. Start task. 3. Send status updates as periodic heartbeat with 4 seconds period; first RUNNING status received by java code triggers RunningTask event. If the task completes fast enough, periodic heartbeat might not catch task in process of execution, and thus driver will never receive RunningTask event. All our tests which rely on RunningTask have tasks which either sleep for 5+ seconds or wait until a RunningTask handler sends a message to the task, so they never uncover this issue. This seems to be a bad design. We need to fix this (and probably also reduce amount of sleep in some tests in spirit of REEF-1203). -- This message was sent by Atlassian JIRA (v6.3.4#6332)