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-19608) Race in MasterRpcServices.getProcedureResult
Date Mon, 25 Dec 2017 07:08:00 GMT

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

Hudson commented on HBASE-19608:

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #4282 (See [https://builds.apache.org/job/HBase-Trunk_matrix/4282/])
HBASE-19608 Race in MasterRpcServices.getProcedureResult (zhangduo: rev 27c56860da637fec0954c0fc4456f42e577da6af)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java

> Race in MasterRpcServices.getProcedureResult
> --------------------------------------------
>                 Key: HBASE-19608
>                 URL: https://issues.apache.org/jira/browse/HBASE-19608
>             Project: HBase
>          Issue Type: Bug
>          Components: proc-v2
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 2.0.0-beta-1
>         Attachments: HBASE-19608-v1.patch, HBASE-19608-v2.patch, HBASE-19608.patch
> In ProcedureExecutor, we only consider a procedure to be finished when it is removed
from the procedures map. But in MasterRpcServices.getProcedureResult, we will use the state
of the procedure to determine whether it is finished. If setFailure is called, the procedure
may enter the FAILED state which indicates it is finished before being  removed from the procedure
map, and then causes an assertion when we calling ProcedureExecutor.removeResult in MasterRpcServices.getProcedureResult.

This message was sent by Atlassian JIRA

View raw message