@InterfaceAudience.Private public class MobFileCompactionChore extends ScheduledChore
| Constructor and Description |
|---|
MobFileCompactionChore(org.apache.hadoop.conf.Configuration conf,
int batchSize) |
MobFileCompactionChore(HMaster master) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
chore() |
void |
performMajorCompactionInBatches(Admin admin,
TableDescriptor htd,
ColumnFamilyDescriptor hcd) |
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNowpublic MobFileCompactionChore(HMaster master)
public MobFileCompactionChore(org.apache.hadoop.conf.Configuration conf,
int batchSize)
protected void chore()
chore in class ScheduledChorepublic void performMajorCompactionInBatches(Admin admin, TableDescriptor htd, ColumnFamilyDescriptor hcd) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.