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 52A812009EE for ; Wed, 18 May 2016 17:02:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 513811609B0; Wed, 18 May 2016 15:02:15 +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 C9958160A15 for ; Wed, 18 May 2016 17:02:14 +0200 (CEST) Received: (qmail 75578 invoked by uid 500); 18 May 2016 15:02: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 75195 invoked by uid 99); 18 May 2016 15:02:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2016 15:02:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CC7FD2C14E1 for ; Wed, 18 May 2016 15:02:12 +0000 (UTC) Date: Wed, 18 May 2016 15:02:12 +0000 (UTC) From: "Markus Weimer (JIRA)" To: dev@reef.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (REEF-1345) Throw proper exceptions in IMRU Task MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 18 May 2016 15:02:15 -0000 [ https://issues.apache.org/jira/browse/REEF-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15289111#comment-15289111 ] Markus Weimer commented on REEF-1345: ------------------------------------- I'm in favor of using {{Exception}}s, as they convey the stack trace in addition to the message. > Throw proper exceptions in IMRU Task > ------------------------------------ > > Key: REEF-1345 > URL: https://issues.apache.org/jira/browse/REEF-1345 > Project: REEF > Issue Type: Task > Reporter: Julia > Labels: FT > > For IMRU fault tolerant, we need to identify where to throw proper exceptions with error messages in places where exception may happen. It includes: > TaskFailByCommunication - if there is any error caused by group communication, typical case is when a task is not able to get messages from its children, this exception should be thrown . > TaskFiledByAppError - catch possible application error and throw the corresponding excretions in those cases. > TaskFailedBySystem - any possible system error that could crash the task such as memory, hard disk, file access, network, etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332)