@InterfaceAudience.Private public class RSMobFileCleanerChore extends ScheduledChore
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
private HRegionServer |
rs |
Constructor and Description |
---|
RSMobFileCleanerChore() |
RSMobFileCleanerChore(HRegionServer rs) |
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()
The task to execute on each scheduled execution of the Chore
|
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNow
private static final org.slf4j.Logger LOG
private final HRegionServer rs
public RSMobFileCleanerChore(HRegionServer rs)
public RSMobFileCleanerChore()
protected void chore()
ScheduledChore
chore
in class ScheduledChore
public 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.