Details
Description
Cleaner is used to get rid of archived HFiles and old WALs in HBase.
In the case of heavy workload, cleaner can affect query performance by creating a lot of connections to perform costly reads/ writes against underlying filesystem.
This patch allows the user to control HBase cleaner behavior by providing shell commands to enable/ disable and manually run it.
Our main intention with this patch was to avoid running the expensive cleaner chore during peak times. During our experimentation, we saw a lot of HFiles and WAL log related files getting created inside archive dir (didn't see ZKlock related files). Since we were replacing hdfs with S3, these delete calls will take forever to complete.