hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11189) Subprocedure should be marked as complete upon failure
Date Sat, 17 May 2014 04:49:17 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14000662#comment-14000662
] 

Hudson commented on HBASE-11189:
--------------------------------

SUCCESS: Integrated in HBase-TRUNK #5133 (See [https://builds.apache.org/job/HBase-TRUNK/5133/])
HBASE-11189 Subprocedure should be marked as complete upon failure (tedyu: rev 1595357)
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ProcedureMember.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/Subprocedure.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedure.java


> 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, 11189-v2.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)

Mime
View raw message