Return-Path: X-Original-To: apmail-giraph-dev-archive@www.apache.org Delivered-To: apmail-giraph-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C1B6FCCC for ; Wed, 20 Mar 2013 19:07:16 +0000 (UTC) Received: (qmail 42125 invoked by uid 500); 20 Mar 2013 19:07:16 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 42086 invoked by uid 500); 20 Mar 2013 19:07:16 -0000 Mailing-List: contact dev-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@giraph.apache.org Delivered-To: mailing list dev@giraph.apache.org Received: (qmail 42001 invoked by uid 500); 20 Mar 2013 19:07:15 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 41980 invoked by uid 99); 20 Mar 2013 19:07:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2013 19:07:15 +0000 Date: Wed, 20 Mar 2013 19:07:15 +0000 (UTC) From: "Nitay Joffe (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GIRAPH-576) BspServiceMaster.failureCleanup() shouldn't pass null in observers' applicationFailed() method 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/GIRAPH-576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13608026#comment-13608026 ] Nitay Joffe commented on GIRAPH-576: ------------------------------------ Also make sure to click "Submit patch" when you want to mark that it should be reviewed. > BspServiceMaster.failureCleanup() shouldn't pass null in observers' applicationFailed() method > ---------------------------------------------------------------------------------------------- > > Key: GIRAPH-576 > URL: https://issues.apache.org/jira/browse/GIRAPH-576 > Project: Giraph > Issue Type: Bug > Components: bsp > Affects Versions: 0.2.0 > Environment: Linux > Reporter: Jess Garms > Priority: Minor > Labels: easy, newbie, patch > Fix For: 0.2.0 > > Attachments: GIRAPH-576.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > failureCleanup() in BspServiceMaster gets called with a null exception from failJob(). That in turn passes a null exception to the set of MasterObservers, in their applicationFailed() method. They probably aren't expecting that. Instead we should pass an appropriate exception around depending on the cause of the failure. > I'll attach a patch. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira