[
https://issues.apache.org/jira/browse/HBASE-21237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16665430#comment-16665430
]
stack commented on HBASE-21237:
-------------------------------
The TestAssignmentManager failure is legit. The mocking mechanism where we pass
in a mocked dispatcher is bypassed. Not sure why after queuing the assign of
meta, it is never scheduled. Going to pass on this for first RC. What is in
place works though slower than what it could be. Thanks boys.
> Use CompatRemoteProcedureResolver to dispatch open/close region requests to RS
> ------------------------------------------------------------------------------
>
> Key: HBASE-21237
> URL: https://issues.apache.org/jira/browse/HBASE-21237
> Project: HBase
> Issue Type: Sub-task
> Affects Versions: 2.1.0, 2.0.2
> Reporter: Allan Yang
> Assignee: Allan Yang
> Priority: Blocker
> Fix For: 2.1.1, 2.0.3
>
> Attachments: HBASE-21237-branch-2.1.patch,
> HBASE-21237.branch-2.0.001.patch
>
>
> As discussed in HBASE-21217, in branch-2.0 and branch-2.1, we should use
> CompatRemoteProcedureResolver instead of ExecuteProceduresRemoteCall to
> dispatch region open/close requests to RS. Since ExecuteProceduresRemoteCall
> will group all the open/close operations in one call and execute them
> sequentially on the target RS. If one operation fails, all the operation will
> be marked as failure. Actually, some of the operations(like open region) is
> already executing in the open region handler thread. But master thinks these
> operations fails and reassign the regions to another RS. So when the previous
> RS report to the master that the region is online, master will kill the RS
> since it already assign the region to another RS.
> For branch-2.2+, HBASE-21217 will fix this issue.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)