@InterfaceAudience.Private public class MobFileCleanerChore extends ScheduledChore
| Constructor and Description |
|---|
MobFileCleanerChore() |
MobFileCleanerChore(HMaster master) |
| Modifier and Type | Method and Description |
|---|---|
void |
archiveMobFiles(org.apache.hadoop.conf.Configuration conf,
TableName tableName,
byte[] family,
List<org.apache.hadoop.fs.Path> storeFiles)
Archives the mob files.
|
protected void |
chore() |
void |
cleanupObsoleteMobFiles(org.apache.hadoop.conf.Configuration conf,
TableName table)
Performs housekeeping file cleaning (called by MOB Cleaner chore)
|
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNowpublic MobFileCleanerChore(HMaster master)
public MobFileCleanerChore()
protected void chore()
chore in class ScheduledChorepublic void cleanupObsoleteMobFiles(org.apache.hadoop.conf.Configuration conf,
TableName table)
throws IOException
conf - configurationtable - table nameIOException - exceptionpublic void archiveMobFiles(org.apache.hadoop.conf.Configuration conf,
TableName tableName,
byte[] family,
List<org.apache.hadoop.fs.Path> storeFiles)
throws IOException
conf - The current configuration.tableName - The table name.family - The name of the column family.storeFiles - The files to be archived.IOException - exceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.