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

Duo Zhang commented on HBASE-20847:
-----------------------------------

The root cause for TestAdmin2 is that, we only have 5 rpc handlers so all of 
them will be blocked by the createTable request, as now the AssignProcedure can 
hold the shared lock while the parent CreateTableProcedure holds the exclusive 
lock, so all other broken CreateTableProcedure will hang there and wait for the 
AssignProcedures, but AssignProcedure will lead to a reportRegionTransition 
call, which can not be executed as all the rpc handlers have been consumed by 
createTable...

It is strange that the requests from user are mixed up with the system 
requests... I temporarily fixed it by setting a larger handler count, need dig 
later...

> The parent procedure of RegionTransitionProcedure may not have the table lock
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-20847
>                 URL: https://issues.apache.org/jira/browse/HBASE-20847
>             Project: HBase
>          Issue Type: Sub-task
>          Components: proc-v2, Region Assignment
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>         Attachments: HBASE-20847-v1.patch, HBASE-20847-v2.patch, 
> HBASE-20847-v3.patch, HBASE-20847.patch
>
>
> For example, SCP can also schedule AssignProcedure and obviously it will not 
> hold the table lock.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to