Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (1)
avatar
New Member

Error:

DEBUG [master:hbasrmaster01:60000.oldLogCleaner] master.ReplicationLogCleaner: Found log in ZK, keeping: hbasregion.abcd.com%2C60020%2C1446216523936.1475050795365

The duration for which WAL files are kept is controlled by hbase.master.logcleaner.ttl - default is 10 minutes.

If the replication peer can be dropped (for longer than the above config value), WAL files would be cleaned. After that the replication peer can be added back.

Issue: Hbase OldWAL's in /apps/hbase/data/oldWALs not getting deleted

Root Cause: Hbase had a peer that prevents the deletion of old files.

In hbase shell:

To List Peers: list_peers

To Disable Peers: disable_peer("1")

To Remove Peer: remove_peer ("1")

List agin to verify removal: list_peers

Next tail the Hbase Master log file to ensure the deletion was working.

Also look at hbase replication folder in hdfs.

Lastly we re-added the peer:

add_peer '<n>', "slave.zookeeper.quorum:zookeeper.clientport.:zookeeper.znode.parent"

4,551 Views
Version history
Last update:
‎12-30-2016 09:00 PM
Updated by:
Contributors