Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # dev >> [Question: Replication] how to detect whether there is a replication pending?


Copy link to this message
-
[Question: Replication] how to detect whether there is a replication pending?
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