@InterfaceAudience.Private public class MasterMobCompactionThread extends Object
MasterRpcServices
Constructor and Description |
---|
MasterMobCompactionThread(HMaster master) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the MasterMobCompactionThread.
|
void |
requestMobCompaction(Configuration conf,
FileSystem fs,
TableName tableName,
List<HColumnDescriptor> columns,
TableLockManager tableLockManager,
boolean allFiles)
Requests mob compaction
|
public MasterMobCompactionThread(HMaster master)
public void requestMobCompaction(Configuration conf, FileSystem fs, TableName tableName, List<HColumnDescriptor> columns, TableLockManager tableLockManager, boolean allFiles) throws IOException
conf
- The Configurationfs
- The file systemtableName
- The table the compactcolumns
- The column descriptorstableLockManager
- The tableLock managerallFiles
- Whether add all mob files into the compaction.IOException
public void close()