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

Duo Zhang commented on HBASE-21237:
-----------------------------------

So here I think we could just remove the different implementation of 
RemoteDispatcher... Just have one implementation, for open and close, we call 
openRegion and closeRegion, and for other remote procedures, we call 
executeProcedures.

> 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: Major
>         Attachments: 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)

Reply via email to