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

StephenLu commented on HBASE-18792:
-----------------------------------

when I use command ```hbase  hbck ``` to check hbase region,it prompt for 
problem
```
ERROR: There is a hole in the region chain between  and .  You need to create a 
new .regioninfo and region dir in hdfs to plug the hole.
ERROR: Found inconsistency in table data_set_test
```
```.regioninfo``` already in hdfs dir
```
hdfs dfs -ls /hbase/data/default/data_set_test/69db2c240bb89b2131de1d15e3c71566
Found 3 items
-rw-r--r--   2 hadoop supergroup         48 2018-10-11 16:51 
/hbase/data/default/data_set_test/69db2c240bb89b2131de1d15e3c71566/.regioninfo
```
so I use command to fix region hbase hbck -fixAssignments.but It didn't work 
with error ```ERROR: option '-fixAssignments' is not supportted!.```

How can I fix the region is not online problem?thanks.

> hbase-2 needs to defend against hbck operations
> -----------------------------------------------
>
>                 Key: HBASE-18792
>                 URL: https://issues.apache.org/jira/browse/HBASE-18792
>             Project: HBase
>          Issue Type: Task
>          Components: hbck
>            Reporter: stack
>            Assignee: Umesh Agashe
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: hbase-18792.branch-1.001.patch, 
> hbase-18792.master.001.patch, hbase-18792.master.002.patch
>
>
> hbck needs updating to run against hbase2. Meantime, if an hbck from hbase1 
> is run against hbck2, it may do damage. hbase2 should defend itself against 
> hbck1 ops.



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

Reply via email to