hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: [Question: Replication] how to detect whether there is a replication pending?
Date Wed, 18 Sep 2013 17:38:11 GMT
Yeah, with HLog queue you can be a whole 64MB in the worst case :)

Pretty hard to say for a single table what the status is, but if it was
cluster-wide you'd just have to look at the shipped ops/batch rates (if it
sits at 0, you're not replicating, unless there's some problem preventing


On Wed, Sep 18, 2013 at 9:33 AM, Demai Ni <nidmgg@gmail.com> wrote:

> hi, folks,
> I am looking for a way to flag that NO replication is pending. For example
> of a simple Master-Slave setup for table t1. At a given point of time, can
> I tell whether there are still Edits pending for replication? I am thinking
> about using replicationsource.metrics.sizeOfLogQueue. The only concern is
> that even with metrics.sizeOfLogQueue=0, there may still has one Log being
> processed for replication. Is my understanding correct?
> Thanks
> Demai

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