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

Bo Cui commented on HBASE-24885:
--------------------------------

bq. Is this only a problem of HBCK2? Or we could meet the same problem when 
calling admin.assign?

yeah, TRSP can judge current regionState in 
TRSP#executeFromState(REGION_STATE_TRANSITION_GET_ASSIGN_CANDIDATE/REGION_STATE_TRANSITION_CLOSE)
https://github.com/apache/hbase/blob/7335dbc8345298c57b8da4ccba640d5432b3fde9/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.java#L340

> 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)

Reply via email to