hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: pre and postReplicateLogEntries from RegionServerObserver
Date Fri, 16 Dec 2016 03:03:18 GMT
bq. preReplicateLogEntries and postReplicateLogEntries gets called on the
slave cluster region server

This is by design.
These two hooks are around ReplicationSinkService#replicateLogEntries().
ReplicationSinkService represents the sink.

Can you tell us what you need to know on the source cluster ?

On Thu, Dec 15, 2016 at 6:52 PM, deepw <gemini.deepak@gmail.com> wrote:

> We are trying to use the RegionServerObserver to track the current status
> of
> Replication [for a specific set of tables only]. Based on some experiments
> I
> see that the preReplicateLogEntries and postReplicateLogEntries gets called
> on the slave cluster region server but not on the Master. The same
> coprocessor is loaded on both master and slave cluster. We see the "start"
> and the "stop" [from RegionServerObserver] functions being called correctly
> on the Master but not the replication related functions.
> Is this expected or are we missing something here.
>
> Thanks
> Deepak.
>
>
>
> --
> View this message in context: http://apache-hbase.679495.n3.
> nabble.com/pre-and-postReplicateLogEntries-from-RegionServerObserver-
> tp4085153.html
> Sent from the HBase User mailing list archive at Nabble.com.
>

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