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

stack commented on HBASE-22709:
-------------------------------

bq. But I think this maybe a bit dangerous? If the balancer is still running, 
we may introduce more inconsistencies if we do this automatically...

I hear you. I think no RIT and no balancer when an 'adoption' runs. hbase:meta 
for the table we are importing into should be healthy too  -- no holes and no 
overlaps so whatever the content of the orphans, there is a place for the 
adopted content to go. Maybe put Master into  'maintenance mode' (disables 
balancer and lets see, maybe we can quiesce other aspects of Master too. 
[~busbey] reminded me of HBASE-21073 today too... Need to take a look at it).

bq. The "fix" thing shoule be better done by user manually.

Yes, hbck2 asks the master to adopt a list of directories/regions. And as 
you/[~zghaobac] says, Master has all state.



> Add a chore thread in master to do hbck checking
> ------------------------------------------------
>
>                 Key: HBASE-22709
>                 URL: https://issues.apache.org/jira/browse/HBASE-22709
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>            Priority: Major
>         Attachments: HBASE-22709.master.001.patch
>
>
> See HBASE-21965. There may have two type of failed splited/merged regions. 
> One is orphan region on filesystem. Another one is unassigned daughter 
> regions or merged regions. Plan to add a seperate hbck.jsp for them. Will add 
> more hbck problems to this UI in future.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to