Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # dev >> [Replication] how ReplicationLogCleaner is triggered during hbase start up?


Copy link to this message
-
[Replication] how ReplicationLogCleaner is triggered during hbase start up?
hi, folks,

I am trying to figure out this logic and probably leverage it.

When HBase started, it will exam the replication log through
RecoverableZooKeeper, and call ReplicationLogCleaner. Here is the portion
of the log below. I am wondering where is the code trigger it? Thanks

2013-10-02 11:51:15,538 INFO
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Node
/hbase/replication/peers already exists and this is not a retry
2013-10-02 11:51:15,540 INFO
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Node
/hbase/replication/rs already exists and this is not a retry
2013-10-02 11:51:15,546 INFO
org.apache.hadoop.hbase.replication.ReplicationZookeeper: Replication is
now started
2013-10-02 11:51:15,554 DEBUG
org.apache.hadoop.hbase.replication.master.ReplicationLogCleaner: Didn't
find this log in ZK, deleting: null
2013-10-02 11:51:15,554 DEBUG
org.apache.hadoop.hbase.master.cleaner.CleanerChore: initialize
cleaner=org.apache.hadoop.hbase.replication.master.ReplicationLogCleaner

Demai
+
Jean-Daniel Cryans 2013-10-02, 20:26
+
Demai Ni 2013-10-03, 00:39
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB