Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A27EE116F1 for ; Fri, 16 May 2014 19:00:39 +0000 (UTC) Received: (qmail 59737 invoked by uid 500); 16 May 2014 11:46:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 45822 invoked by uid 500); 16 May 2014 11:29:54 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 74859 invoked by uid 99); 16 May 2014 11:19:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 11:19:59 +0000 Date: Fri, 16 May 2014 11:19:59 +0000 (UTC) From: "Matteo Bertozzi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11189) Subprocedure should be marked as complete upon failure 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/HBASE-11189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13999699#comment-13999699 ] Matteo Bertozzi commented on HBASE-11189: ----------------------------------------- It look ok, but I doubt we have a test verifying what happens when we get a failure. Can you add that? > Subprocedure should be marked as complete upon failure > ------------------------------------------------------ > > Key: HBASE-11189 > URL: https://issues.apache.org/jira/browse/HBASE-11189 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Fix For: 0.99.0, 0.98.3 > > Attachments: 11189-v1.txt > > > ProcedureMember#submitSubprocedure() uses the following check: > {code} > if (!rsub.isComplete()) { > LOG.error("Subproc '" + procName + "' is already running. Bailing out"); > return false; > } > {code} > If a subprocedure of that name previously ran but failed, its complete field would stay false, leading to early bailout. > A failed subprocedure should mark itself complete. -- This message was sent by Atlassian JIRA (v6.2#6252)