@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, triggerNow
getName, getThread, interrupt, isAlive, isInterrupted, join, join, join, setDaemon, setName, setPriority, setUncaughtExceptionHandler, start
protected boolean initialChore()
Chore
initialChore
in class Chore
public boolean setEnabled(boolean enabled)
enabled
- protected void chore()
Chore
public boolean cleanMergeQualifier(HRegionInfo region) throws IOException
region
- IOException
Copyright © 2014 The Apache Software Foundation. All rights reserved.