You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Bo Cui (JIRA)" <ji...@apache.org> on 2019/07/02 08:15:00 UTC

[jira] [Updated] (HBASE-22646) boundaries errors in the overlap after using hbck fix

     [ https://issues.apache.org/jira/browse/HBASE-22646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bo Cui updated HBASE-22646:
---------------------------
    Description: 
When I use hbck fix overlap, there is data in the region that doesn't belong to it.

reproduction steps:

1、create t1 and set COMPACTION_ENABLED=false
 2、put r001 r002 r003 r004
 3、flush t1 and flush meta
 4、 major_compact meta, and get new meta hfile1 
 5、 split t1, r0022
 6、 flush meta, and get new meta hfile2
 7、 stop cluster,delet all WALs,, delete hfile2
 8、 restart hbase
 9、 split t1,r0022,and hdfs has 5 regions(1 parent, 2 old daughter, 2 new daughter), meta has 3 region(1 parent, 2 new daughter)
 10、use hbck to repair until t1 is healthy

the result:

  was:
When I use hbck fix overlap, there is data in the region that doesn't belong to it.

  reproduction steps:

1、create t1 and set COMPACTION_ENABLED=false
2、put r001 r002 r003 r004
3、flush t1 and flush meta
4、 major_compact meta, and get new meta hfile1 
5、 split t1, r0022
6、 flush meta, and get new meta hfile2
7、 stop cluster,delet all WALs,, delete hfile2
8、 restart hbase
9、 split t1,r0022,and hdfs has 5 regions(1 parent, 2 old daughter, 2 new daughter), meta has 3 region(1 parent, 2 new daughter)
10、 hbase hbck -repair (   use 2 times)


the result:


> boundaries errors in the overlap after using hbck fix
> -----------------------------------------------------
>
>                 Key: HBASE-22646
>                 URL: https://issues.apache.org/jira/browse/HBASE-22646
>             Project: HBase
>          Issue Type: Bug
>          Components: hbck
>    Affects Versions: 1.3.1, 2.1.0
>            Reporter: Bo Cui
>            Priority: Major
>
> When I use hbck fix overlap, there is data in the region that doesn't belong to it.
> reproduction steps:
> 1、create t1 and set COMPACTION_ENABLED=false
>  2、put r001 r002 r003 r004
>  3、flush t1 and flush meta
>  4、 major_compact meta, and get new meta hfile1 
>  5、 split t1, r0022
>  6、 flush meta, and get new meta hfile2
>  7、 stop cluster,delet all WALs,, delete hfile2
>  8、 restart hbase
>  9、 split t1,r0022,and hdfs has 5 regions(1 parent, 2 old daughter, 2 new daughter), meta has 3 region(1 parent, 2 new daughter)
>  10、use hbck to repair until t1 is healthy
> the result:



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