hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Region count for a table not matching between prod and cob where one way replication is enabled from prod to cob
Date Wed, 27 Dec 2017 23:57:59 GMT
CM:
Does hbase.hregion.max.filesize carry same value in both clusters ?

It seems TABLE1 went thru 3 splits in COB cluster.
You can check region server log(s) to confirm the split.

Cheers

On Wed, Dec 27, 2017 at 2:32 PM, sudhir patil <spatil.sudhir@gmail.com>
wrote:

> Regions in both clusters need not have to match, each server independently
> manages its regions depending on split, compactions etc number of regions
> in both servers won't be same. If you want to verify both servers are
> replicated correctly you have to run below command
>
> sudo -u hbase hbase
> org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication peer1
> table1
>
>
> On Thu, Dec 28, 2017 at 5:00 AM, Sawant, Chandramohan <
> chandramohan.sawant@citi.com.invalid> wrote:
>
> > Hi All,
> >
> > Before enabling replication, snapshot of PROD table taken and restored in
> > COB and then replication enabled, region count was matching at that time.
> > However after few days, COB showing extra regions than in prod where
> > replication enabled one way from PROD to COB.
> > What is the reason of having mismatch in the number of regions between
> > prod and cob ?
> >
> > COB -
> > Namespace        Table Name        Online Regions  Offline Regions Failed
> > Regions   Split Regions      Other Regions
> > default                 TABLE1                 4
> >     0                              0                              3
> >                       0
> > default                 TABLE2                 10
> >  0                              0                              8
> >                   0
> >
> > PROD -
> > Namespace        Table Name        Online Regions  Offline Regions Failed
> > Regions   Split Regions      Other Regions
> > default                 TABLE1                 1
> >     0                              0                              0
> >                       0
> > default                 TABLE2                 4
> >     0                              0                              2
> >                       0
> >
> > hbase:meta table in COB shows the few regions of above tables are offline
> > with offline attribute true, however it shows different status on HBase
> UI,
> > please see above.
> >
> > Regards,
> > CM
> > +1 201 763 1656
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message