[
https://issues.apache.org/jira/browse/HBASE-24885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17179045#comment-17179045
]
Duo Zhang commented on HBASE-24885:
-----------------------------------
So this is only a proble for HBCK2? Then I think it is the caller's duty to
make sure that you do not do something wrong... HBCK2 is for fixing assignment
problems, so the method is designed to skip all the checks and force to do an
assignment...
This is the comment of the method
{code}
/**
* A 'raw' version of assign that does bulk and skirts Master state checks
(assigns can be made
* during Master startup). For use by Hbck2.
*/
{code}
> STUCK RIT by hbck2 assigns
> --------------------------
>
> Key: HBASE-24885
> URL: https://issues.apache.org/jira/browse/HBASE-24885
> Project: HBase
> Issue Type: Bug
> Components: hbck2, Region Assignment
> Affects Versions: 3.0.0-alpha-1, 2.2.3
> Reporter: Bo Cui
> Assignee: Bo Cui
> Priority: Major
>
> If a region has been assign to rs1 and then client assigns region again by
> "hbck2 assigns"
> 1、if regionPlan is region to be assign to rs2,the region will be opened on
> rs1 and rs2.
> master log:
> {quote}WARN org.apache.hadoop.hbase.master.assignment.AssignmentManager:
> rit=OPEN, location=rs2, table=tableName, region=reionName reported OPEN on
> server=rs1 but state has otherwise
> {quote}
> 2、if regionPlan is region to be assign to rs1, the
> TransitRegionStateProcedure and OpenRegionProcedure will stuck. because rs1
> is not responding to master
> rslog:
> {quote}Receiving OPEN for the region:{}, which we are already trying to OPEN
> - ignoring this new request for this region.
> {quote}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)