@InterfaceAudience.Private public class CatalogJanitor extends ScheduledChore
hbase:meta
catalog
table on a period looking for unused regions to garbage collect.Modifier and Type | Method and Description |
---|---|
protected void |
chore()
The task to execute on each scheduled execution of the Chore
|
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) |
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, isInitialChoreComplete, isScheduled, run, toString, triggerNow
protected boolean initialChore()
ScheduledChore
initialChore
in class ScheduledChore
public boolean setEnabled(boolean enabled)
enabled
- protected void chore()
ScheduledChore
chore
in class ScheduledChore
public boolean cleanMergeQualifier(HRegionInfo region) throws IOException
region
- IOException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.