@InterfaceAudience.Private public class CatalogJanitor extends Chore
hbase:meta catalog
table on a period looking for unused regions to garbage collect.| Modifier and Type | Method and Description |
|---|---|
protected void |
chore()
Look for chores.
|
boolean |
cleanMergeQualifier(HRegionInfo region)
Checks if the specified region has merge qualifiers, if so, try to clean
them
|
protected boolean |
initialChore()
Override to run a task before we start looping.
|
boolean |
setEnabled(boolean enabled) |
choreForTesting, cleanup, run, sleep, triggerNowgetName, getThread, interrupt, isAlive, isInterrupted, join, join, join, setDaemon, setName, setPriority, setUncaughtExceptionHandler, startprotected boolean initialChore()
ChoreinitialChore in class Chorepublic boolean setEnabled(boolean enabled)
enabled - protected void chore()
Chorepublic boolean cleanMergeQualifier(HRegionInfo region) throws IOException
region - IOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.