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-11659) Region state RPC call is not idempotent
Date Sat, 09 Aug 2014 03:42:14 GMT

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

Hudson commented on HBASE-11659:
--------------------------------

FAILURE: Integrated in HBase-1.0 #92 (See [https://builds.apache.org/job/HBase-1.0/92/])
HBASE-11659 Region state RPC call is not idempotent (Virag Kothari) (jxiang: rev 1669bc44c7e2739fc3dd742fc4acd1c7df7451dc)
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestAssignmentManagerOnCluster.java


> Region state RPC call is not idempotent
> ---------------------------------------
>
>                 Key: HBASE-11659
>                 URL: https://issues.apache.org/jira/browse/HBASE-11659
>             Project: HBase
>          Issue Type: Bug
>          Components: Region Assignment
>            Reporter: Virag Kothari
>            Assignee: Virag Kothari
>             Fix For: 1.0.0, 2.0.0
>
>         Attachments: HBASE-11659.patch, HBASE-11659.patch
>
>
> Here is the scenario on 0.98 with zk-less assignment
> The master gets an OPEN RPC call from region server.
> So, it moves the region state from PENDING_OPEN to OPEN.
> But, the call timeouts on the region server and region server retries sending the OPEN
call. However, now the master throws an Exception saying the region is not PENDING_OPEN. So,
the region servers aborts the region on receiving that exception and sends FAILED_OPEN to
master. But the master cannot change its state from FAILED_OPEN to OPEN, so eventually the
master keeps the state as OPEN while the actual region is no longer open on region server.
> The master should not throw an exception on receiving OPEN RPC calls multiple times.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message