hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cuizhaohua (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18650) HBase replication Master-Master model issue
Date Tue, 22 Aug 2017 05:22:02 GMT
cuizhaohua created HBASE-18650:

             Summary: HBase replication Master-Master  model issue 
                 Key: HBASE-18650
                 URL: https://issues.apache.org/jira/browse/HBASE-18650
             Project: HBase
          Issue Type: Bug
          Components: Replication
    Affects Versions: 1.1.6
            Reporter: cuizhaohua
            Priority: Minor

When I use HBase replication with Master-Master  model, install like  below:
1>  with cluster 1  I create table "repliTest",  and put some data on it .

2>  after about 6 month, I have cluster 2 ,and install master-master model with two cluster.

3> I put  cluster 1 some data and It replication  to cluster 2, it's correct.

4>  I put  cluster 2 some data and it replication to cluster 1, It's correct also.

5> The issue is : when I run     command 
 "hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication  clusterID  repliTest
 "    on each cluster.

the result  is different :
on cluster 1  the result is 

on cluster 2 the result is:


It means one record is lost on cluster 2  verifierreplication .  I check the table and get
the recode  is one recode I have put it  6 month ago.  
I delete this record like this:

hbase(main):017:0> delete 'repliTest','3','score:english'

and after that,   when I run hbase verifyreplication  is also correct on evey cluster. 

environment :

HBase 1.16  
hdfs  2.7.1 

ps: I am not good at english  ,sorry about that. 

This message was sent by Atlassian JIRA

View raw message