Package | Description |
---|---|
org.apache.hadoop.hbase.mob.compactions |
Modifier and Type | Method and Description |
---|---|
protected PartitionedMobCompactionRequest |
PartitionedMobCompactor.select(List<org.apache.hadoop.fs.FileStatus> candidates,
boolean allFiles)
Selects the compacted mob/del files.
|
Modifier and Type | Method and Description |
---|---|
protected List<org.apache.hadoop.fs.Path> |
PartitionedMobCompactor.compactDelFiles(PartitionedMobCompactionRequest request,
List<org.apache.hadoop.fs.Path> delFilePaths)
Compacts the del files in batches which avoids opening too many files.
|
private org.apache.hadoop.fs.Path |
PartitionedMobCompactor.compactDelFilesInBatch(PartitionedMobCompactionRequest request,
List<HStoreFile> delFiles)
Compacts the del file in a batch.
|
private List<org.apache.hadoop.fs.Path> |
PartitionedMobCompactor.compactMobFilePartition(PartitionedMobCompactionRequest request,
PartitionedMobCompactionRequest.CompactionPartition partition,
List<HStoreFile> delFiles,
Connection connection,
Table table)
Compacts a partition of selected small mob files and all the del files.
|
protected List<org.apache.hadoop.fs.Path> |
PartitionedMobCompactor.compactMobFiles(PartitionedMobCompactionRequest request)
Compacts the selected small mob files and all the del files.
|
private void |
PartitionedMobCompactor.compactMobFilesInBatch(PartitionedMobCompactionRequest request,
PartitionedMobCompactionRequest.CompactionPartition partition,
Connection connection,
Table table,
List<HStoreFile> filesToCompact,
int batch,
org.apache.hadoop.fs.Path bulkloadPathOfPartition,
org.apache.hadoop.fs.Path bulkloadColumnPath,
List<org.apache.hadoop.fs.Path> newFiles)
Compacts a partition of selected small mob files and all the del files in a batch.
|
protected List<org.apache.hadoop.fs.Path> |
PartitionedMobCompactor.performCompaction(PartitionedMobCompactionRequest request)
Performs the compaction on the selected files.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.