| Package | Description |
|---|---|
| org.apache.hadoop.hbase.backup | |
| org.apache.hadoop.hbase.mob | |
| org.apache.hadoop.hbase.regionserver | |
| org.apache.hadoop.hbase.regionserver.compactions |
| Modifier and Type | Method and Description |
|---|---|
static void |
HFileArchiver.archiveRecoveredEdits(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
RegionInfo regionInfo,
byte[] family,
Collection<HStoreFile> replayedEdits)
Archive recovered edits using existing logic for archiving store files.
|
static void |
HFileArchiver.archiveStoreFiles(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
RegionInfo regionInfo,
org.apache.hadoop.fs.Path tableDir,
byte[] family,
Collection<HStoreFile> compactedFiles)
Remove the store files, either by archiving them or outright deletion
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
MobUtils.removeMobFiles(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
TableName tableName,
org.apache.hadoop.fs.Path tableDir,
byte[] family,
Collection<HStoreFile> storeFiles)
Archives the mob files.
|
| Constructor and Description |
|---|
CachedMobFile(HStoreFile sf) |
MobFile(HStoreFile sf) |
| Modifier and Type | Method and Description |
|---|---|
HStoreFile |
StoreEngine.createStoreFileAndReader(org.apache.hadoop.fs.Path p) |
HStoreFile |
StoreEngine.createStoreFileAndReader(StoreFileInfo info) |
HStoreFile |
HStore.tryCommitRecoveredHFile(org.apache.hadoop.fs.Path path) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hbase.thirdparty.com.google.common.collect.ImmutableCollection<HStoreFile> |
StripeStoreFileManager.clearCompactedFiles() |
Collection<HStoreFile> |
StoreFileManager.clearCompactedFiles()
Clears all the compacted files and returns them.
|
org.apache.hbase.thirdparty.com.google.common.collect.ImmutableCollection<HStoreFile> |
StripeStoreFileManager.clearFiles() |
org.apache.hbase.thirdparty.com.google.common.collect.ImmutableCollection<HStoreFile> |
StoreFileManager.clearFiles()
Clears all the files currently in use and returns them.
|
Map<byte[],List<HStoreFile>> |
HRegion.close()
Close down this HRegion.
|
org.apache.hbase.thirdparty.com.google.common.collect.ImmutableCollection<HStoreFile> |
HStore.close()
Close all the readers We don't need to worry about subsequent requests because the Region holds
a write lock that will prevent any more reads or writes.
|
Map<byte[],List<HStoreFile>> |
HRegion.close(boolean abort)
Close down this HRegion.
|
List<HStoreFile> |
StoreEngine.commitStoreFiles(List<org.apache.hadoop.fs.Path> files,
boolean validate)
Commit the given
files. |
List<HStoreFile> |
HStore.compact(CompactionContext compaction,
ThroughputController throughputController,
User user)
Compact the StoreFiles.
|
protected List<HStoreFile> |
HStore.doCompaction(CompactionRequestImpl cr,
Collection<HStoreFile> filesToCompact,
User user,
long compactionStartTime,
List<org.apache.hadoop.fs.Path> newFiles) |
Iterator<HStoreFile> |
StripeStoreFileManager.getCandidateFilesForRowKeyBefore(KeyValue targetKey)
See
StoreFileManager.getCandidateFilesForRowKeyBefore(KeyValue) for details on this
methods. |
Iterator<HStoreFile> |
StoreFileManager.getCandidateFilesForRowKeyBefore(KeyValue targetKey)
Gets initial, full list of candidate store files to check for row-key-before.
|
Collection<HStoreFile> |
StripeStoreFileManager.getCompactedfiles() |
Collection<HStoreFile> |
StoreFileManager.getCompactedfiles()
List of compacted files inside this store that needs to be excluded in reads because further
new reads will be using only the newly created files out of compaction.
|
Collection<HStoreFile> |
HStore.getCompactedFiles() |
Supplier<Collection<HStoreFile>> |
StoreContext.getCompactedFilesSupplier() |
Collection<HStoreFile> |
StripeStoreFileManager.getFilesForScan(byte[] startRow,
boolean includeStartRow,
byte[] stopRow,
boolean includeStopRow) |
Collection<HStoreFile> |
StoreFileManager.getFilesForScan(byte[] startRow,
boolean includeStartRow,
byte[] stopRow,
boolean includeStopRow)
Gets the store files to scan for a Scan or Get request.
|
List<HStoreFile> |
StripeStoreFileManager.getLevel0Files() |
Comparator<HStoreFile> |
StripeStoreFileManager.getStoreFileComparator() |
Comparator<HStoreFile> |
StoreFileManager.getStoreFileComparator() |
Collection<HStoreFile> |
StripeStoreFileManager.getStorefiles() |
Collection<HStoreFile> |
StoreFileManager.getStorefiles()
Gets the snapshot of the store files currently in use.
|
Collection<HStoreFile> |
HStore.getStorefiles()
Returns All store files.
|
ArrayList<org.apache.hbase.thirdparty.com.google.common.collect.ImmutableList<HStoreFile>> |
StripeStoreFileManager.getStripes() |
Collection<HStoreFile> |
StripeStoreFileManager.getUnneededFiles(long maxTs,
List<HStoreFile> filesCompacting) |
Collection<HStoreFile> |
StoreFileManager.getUnneededFiles(long maxTs,
List<HStoreFile> filesCompacting) |
Iterator<HStoreFile> |
StripeStoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator<HStoreFile> candidateFiles,
KeyValue targetKey,
Cell candidate)
See
StoreFileManager.getCandidateFilesForRowKeyBefore(KeyValue) and
StoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator, KeyValue, Cell) for
details on this methods. |
Iterator<HStoreFile> |
StoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator<HStoreFile> candidateFiles,
KeyValue targetKey,
Cell candidate)
Updates the candidate list for finding row key before.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
StoreUtils.getStorefileFieldSize(HStoreFile file,
ToLongFunction<StoreFileReader> f) |
org.apache.hadoop.fs.Path |
HRegionFileSystem.mergeStoreFile(RegionInfo mergingRegion,
String familyName,
HStoreFile f)
Write out a merge reference under the given merges directory.
|
void |
RegionCoprocessorHost.postCompact(HStore store,
HStoreFile resultFile,
CompactionLifeCycleTracker tracker,
CompactionRequest request,
User user)
Called after the store compaction has completed.
|
void |
RegionCoprocessorHost.postFlush(HStore store,
HStoreFile storeFile,
FlushLifeCycleTracker tracker)
Invoked after a memstore flush
|
org.apache.hadoop.fs.Path |
HRegionFileSystem.splitStoreFile(RegionInfo hri,
String familyName,
HStoreFile f,
byte[] splitRow,
boolean top,
RegionSplitPolicy splitPolicy)
Write out a split reference.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StripeStoreFileManager.addCompactionResults(Collection<HStoreFile> compactedFiles,
Collection<HStoreFile> results) |
void |
StripeStoreFileManager.addCompactionResults(Collection<HStoreFile> compactedFiles,
Collection<HStoreFile> results) |
void |
StoreFileManager.addCompactionResults(Collection<HStoreFile> compactedFiles,
Collection<HStoreFile> results)
Adds only the new compaction results into the structure.
|
void |
StoreFileManager.addCompactionResults(Collection<HStoreFile> compactedFiles,
Collection<HStoreFile> results)
Adds only the new compaction results into the structure.
|
void |
StoreEngine.addStoreFiles(Collection<HStoreFile> storeFiles,
StoreEngine.IOExceptionRunnable actionAfterAdding)
Add the store files to store file manager, and also record it in the store file tracker.
|
void |
StoreFileWriter.appendMetadata(long maxSequenceId,
boolean majorCompaction,
Collection<HStoreFile> storeFiles)
Writes meta data.
|
void |
HRegionWALFileSystem.archiveRecoveredEdits(String familyName,
Collection<HStoreFile> storeFiles)
Closes and archives the specified store files from the specified family.
|
List<org.apache.hadoop.fs.Path> |
AbstractMultiFileWriter.commitWriters(long maxSeqId,
boolean majorCompaction,
Collection<HStoreFile> storeFiles) |
protected List<HStoreFile> |
HStore.doCompaction(CompactionRequestImpl cr,
Collection<HStoreFile> filesToCompact,
User user,
long compactionStartTime,
List<org.apache.hadoop.fs.Path> newFiles) |
static OptionalInt |
StoreUtils.getDeterministicRandomSeed(Collection<HStoreFile> files)
Creates a deterministic hash code for store file collection.
|
static long |
StoreUtils.getLowestTimestamp(Collection<HStoreFile> candidates)
Gets lowest timestamp from candidate StoreFiles
|
static OptionalLong |
StoreUtils.getMaxMemStoreTSInList(Collection<HStoreFile> sfs)
Return the largest memstoreTS found across all storefiles in the given list.
|
static OptionalLong |
StoreUtils.getMaxSequenceIdInList(Collection<HStoreFile> sfs)
Return the highest sequence ID found across all storefiles in the given list.
|
List<KeyValueScanner> |
HStore.getScanners(List<HStoreFile> files,
boolean cacheBlocks,
boolean isGet,
boolean usePread,
boolean isCompaction,
ScanQueryMatcher matcher,
byte[] startRow,
byte[] stopRow,
long readPt,
boolean includeMemstoreScanner)
Create scanners on the given files and if needed on the memstore with no filtering based on TTL
(that happens further down the line).
|
List<KeyValueScanner> |
HStore.getScanners(List<HStoreFile> files,
boolean cacheBlocks,
boolean usePread,
boolean isCompaction,
ScanQueryMatcher matcher,
byte[] startRow,
boolean includeStartRow,
byte[] stopRow,
boolean includeStopRow,
long readPt,
boolean includeMemstoreScanner)
Create scanners on the given files and if needed on the memstore with no filtering based on TTL
(that happens further down the line).
|
static List<StoreFileScanner> |
StoreFileScanner.getScannersForCompaction(Collection<HStoreFile> files,
boolean canUseDropBehind,
long readPt)
Get scanners for compaction.
|
static List<StoreFileScanner> |
StoreFileScanner.getScannersForStoreFiles(Collection<HStoreFile> files,
boolean cacheBlocks,
boolean usePread,
boolean isCompaction,
boolean useDropBehind,
long readPt)
Return an array of scanners corresponding to the given set of store files.
|
static List<StoreFileScanner> |
StoreFileScanner.getScannersForStoreFiles(Collection<HStoreFile> files,
boolean cacheBlocks,
boolean usePread,
boolean isCompaction,
boolean canUseDrop,
ScanQueryMatcher matcher,
long readPt)
Return an array of scanners corresponding to the given set of store files, And set the
ScanQueryMatcher for each store file scanner for further optimization
|
static long |
StoreUtils.getStorefilesSize(Collection<HStoreFile> files,
Predicate<HStoreFile> predicate) |
static long |
StoreUtils.getStorefilesSize(Collection<HStoreFile> files,
Predicate<HStoreFile> predicate) |
static long |
StoreUtils.getTotalUncompressedBytes(List<HStoreFile> files) |
Collection<HStoreFile> |
StripeStoreFileManager.getUnneededFiles(long maxTs,
List<HStoreFile> filesCompacting) |
Collection<HStoreFile> |
StoreFileManager.getUnneededFiles(long maxTs,
List<HStoreFile> filesCompacting) |
static boolean |
StoreUtils.hasReferences(Collection<HStoreFile> files)
Determines whether any files in the collection are references.
|
void |
StripeStoreFileManager.insertNewFiles(Collection<HStoreFile> sfs) |
void |
StoreFileManager.insertNewFiles(Collection<HStoreFile> sfs)
Adds new files, either for from MemStore flush or bulk insert, into the structure.
|
void |
StripeStoreFileManager.loadFiles(List<HStoreFile> storeFiles) |
void |
StoreFileManager.loadFiles(List<HStoreFile> storeFiles)
Loads the initial store files into empty StoreFileManager.
|
boolean |
DefaultStoreEngine.needsCompaction(List<HStoreFile> filesCompacting) |
abstract boolean |
StoreEngine.needsCompaction(List<HStoreFile> filesCompacting) |
boolean |
StripeStoreEngine.needsCompaction(List<HStoreFile> filesCompacting) |
boolean |
DateTieredStoreEngine.needsCompaction(List<HStoreFile> filesCompacting) |
void |
RegionCoprocessorHost.postCompactSelection(HStore store,
List<HStoreFile> selected,
CompactionLifeCycleTracker tracker,
CompactionRequest request,
User user)
Called after the
HStoreFiles to be compacted have been selected from the available
candidates. |
boolean |
RegionCoprocessorHost.preCompactSelection(HStore store,
List<HStoreFile> candidates,
CompactionLifeCycleTracker tracker,
User user)
Called prior to selecting the
HStoreFiles for compaction from the list of currently
available candidates. |
void |
StoreEngine.removeCompactedFiles(Collection<HStoreFile> compactedFiles) |
void |
StripeStoreFileManager.removeCompactedFiles(Collection<HStoreFile> compactedFiles) |
void |
StoreFileManager.removeCompactedFiles(Collection<HStoreFile> compactedFiles)
Remove the compacted files
|
void |
HRegionFileSystem.removeStoreFiles(String familyName,
Collection<HStoreFile> storeFiles)
Closes and archives the specified store files from the specified family.
|
void |
StoreEngine.replaceStoreFiles(Collection<HStoreFile> compactedFiles,
Collection<HStoreFile> newFiles,
StoreEngine.IOExceptionRunnable walMarkerWriter,
Runnable actionUnderLock) |
void |
StoreEngine.replaceStoreFiles(Collection<HStoreFile> compactedFiles,
Collection<HStoreFile> newFiles,
StoreEngine.IOExceptionRunnable walMarkerWriter,
Runnable actionUnderLock) |
static List<StoreFileInfo> |
StoreUtils.toStoreFileInfo(Collection<HStoreFile> storefiles) |
Iterator<HStoreFile> |
StripeStoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator<HStoreFile> candidateFiles,
KeyValue targetKey,
Cell candidate)
See
StoreFileManager.getCandidateFilesForRowKeyBefore(KeyValue) and
StoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator, KeyValue, Cell) for
details on this methods. |
Iterator<HStoreFile> |
StoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator<HStoreFile> candidateFiles,
KeyValue targetKey,
Cell candidate)
Updates the candidate list for finding row key before.
|
void |
ChangedReadersObserver.updateReaders(List<HStoreFile> sfs,
List<KeyValueScanner> memStoreScanners)
Notify observers.
|
void |
StoreScanner.updateReaders(List<HStoreFile> sfs,
List<KeyValueScanner> memStoreScanners) |
StoreFileWriter.Builder |
StoreFileWriter.Builder.withCompactedFilesSupplier(Supplier<Collection<HStoreFile>> compactedFilesSupplier) |
StoreContext.Builder |
StoreContext.Builder.withCompactedFilesSupplier(Supplier<Collection<HStoreFile>> compactedFilesSupplier) |
| Modifier and Type | Method and Description |
|---|---|
protected ArrayList<HStoreFile> |
RatioBasedCompactionPolicy.applyCompactionPolicy(ArrayList<HStoreFile> candidates,
boolean mayUseOffPeak,
boolean mayBeStuck)
-- Default minor compaction selection algorithm: choose CompactSelection from candidates --
First exclude bulk-load files if indicated in configuration.
|
protected ArrayList<HStoreFile> |
ExploringCompactionPolicy.applyCompactionPolicy(ArrayList<HStoreFile> candidates,
boolean mayUseOffPeak,
boolean mightBeStuck) |
List<HStoreFile> |
ExploringCompactionPolicy.applyCompactionPolicy(List<HStoreFile> candidates,
boolean mightBeStuck,
boolean mayUseOffPeak,
int minFiles,
int maxFiles) |
protected ArrayList<HStoreFile> |
SortedCompactionPolicy.checkMinFilesCriteria(ArrayList<HStoreFile> candidates,
int minFiles) |
protected ArrayList<HStoreFile> |
SortedCompactionPolicy.getCurrentEligibleFiles(ArrayList<HStoreFile> candidateFiles,
List<HStoreFile> filesCompacting) |
Collection<HStoreFile> |
CompactionRequestImpl.getFiles() |
List<HStoreFile> |
StripeCompactionPolicy.StripeInformationProvider.getLevel0Files()
Returns Level 0 files.
|
Collection<HStoreFile> |
StripeCompactionPolicy.StripeInformationProvider.getStorefiles() |
ArrayList<org.apache.hbase.thirdparty.com.google.common.collect.ImmutableList<HStoreFile>> |
StripeCompactionPolicy.StripeInformationProvider.getStripes()
Returns The stripes.
|
abstract List<HStoreFile> |
CompactionContext.preSelect(List<HStoreFile> filesCompacting)
Called before coprocessor preCompactSelection and should filter the candidates for coprocessor;
i.e.
|
List<HStoreFile> |
SortedCompactionPolicy.preSelectCompactionForCoprocessor(Collection<HStoreFile> candidates,
List<HStoreFile> filesCompacting) |
List<HStoreFile> |
StripeCompactionPolicy.preSelectFilesForCoprocessor(StripeCompactionPolicy.StripeInformationProvider si,
List<HStoreFile> filesCompacting) |
List<HStoreFile> |
ExploringCompactionPolicy.selectCompactFiles(List<HStoreFile> candidates,
int maxFiles,
boolean isOffpeak)
Select at least one file in the candidates list to compact, through choosing files from the
head to the index that the accumulation length larger the max compaction size.
|
protected ArrayList<HStoreFile> |
SortedCompactionPolicy.skipLargeFiles(ArrayList<HStoreFile> candidates,
boolean mayUseOffpeak) |
| Modifier and Type | Method and Description |
|---|---|
protected ArrayList<HStoreFile> |
RatioBasedCompactionPolicy.applyCompactionPolicy(ArrayList<HStoreFile> candidates,
boolean mayUseOffPeak,
boolean mayBeStuck)
-- Default minor compaction selection algorithm: choose CompactSelection from candidates --
First exclude bulk-load files if indicated in configuration.
|
protected ArrayList<HStoreFile> |
ExploringCompactionPolicy.applyCompactionPolicy(ArrayList<HStoreFile> candidates,
boolean mayUseOffPeak,
boolean mightBeStuck) |
List<HStoreFile> |
ExploringCompactionPolicy.applyCompactionPolicy(List<HStoreFile> candidates,
boolean mightBeStuck,
boolean mayUseOffPeak,
int minFiles,
int maxFiles) |
protected ArrayList<HStoreFile> |
SortedCompactionPolicy.checkMinFilesCriteria(ArrayList<HStoreFile> candidates,
int minFiles) |
protected CompactionRequestImpl |
RatioBasedCompactionPolicy.createCompactionRequest(ArrayList<HStoreFile> candidateSelection,
boolean tryingMajor,
boolean mayUseOffPeak,
boolean mayBeStuck) |
protected CompactionRequestImpl |
DateTieredCompactionPolicy.createCompactionRequest(ArrayList<HStoreFile> candidateSelection,
boolean tryingMajor,
boolean mayUseOffPeak,
boolean mayBeStuck) |
protected abstract CompactionRequestImpl |
SortedCompactionPolicy.createCompactionRequest(ArrayList<HStoreFile> candidateSelection,
boolean tryingMajor,
boolean mayUseOffPeak,
boolean mayBeStuck) |
protected void |
SortedCompactionPolicy.filterBulk(ArrayList<HStoreFile> candidates) |
protected ArrayList<HStoreFile> |
SortedCompactionPolicy.getCurrentEligibleFiles(ArrayList<HStoreFile> candidateFiles,
List<HStoreFile> filesCompacting) |
protected ArrayList<HStoreFile> |
SortedCompactionPolicy.getCurrentEligibleFiles(ArrayList<HStoreFile> candidateFiles,
List<HStoreFile> filesCompacting) |
long |
SortedCompactionPolicy.getNextMajorCompactTime(Collection<HStoreFile> filesToCompact)
Returns When to run next major compaction
|
static long |
StripeCompactionPolicy.getTotalFileSize(Collection<HStoreFile> candidates) |
boolean |
FIFOCompactionPolicy.needsCompaction(Collection<HStoreFile> storeFiles,
List<HStoreFile> filesCompacting) |
boolean |
FIFOCompactionPolicy.needsCompaction(Collection<HStoreFile> storeFiles,
List<HStoreFile> filesCompacting) |
boolean |
RatioBasedCompactionPolicy.needsCompaction(Collection<HStoreFile> storeFiles,
List<HStoreFile> filesCompacting)
A heuristic method to decide whether to schedule a compaction request
|
boolean |
RatioBasedCompactionPolicy.needsCompaction(Collection<HStoreFile> storeFiles,
List<HStoreFile> filesCompacting)
A heuristic method to decide whether to schedule a compaction request
|
boolean |
DateTieredCompactionPolicy.needsCompaction(Collection<HStoreFile> storeFiles,
List<HStoreFile> filesCompacting)
Heuristics for guessing whether we need minor compaction.
|
boolean |
DateTieredCompactionPolicy.needsCompaction(Collection<HStoreFile> storeFiles,
List<HStoreFile> filesCompacting)
Heuristics for guessing whether we need minor compaction.
|
abstract boolean |
SortedCompactionPolicy.needsCompaction(Collection<HStoreFile> storeFiles,
List<HStoreFile> filesCompacting) |
abstract boolean |
SortedCompactionPolicy.needsCompaction(Collection<HStoreFile> storeFiles,
List<HStoreFile> filesCompacting) |
boolean |
StripeCompactionPolicy.needsCompactions(StripeCompactionPolicy.StripeInformationProvider si,
List<HStoreFile> filesCompacting) |
abstract List<HStoreFile> |
CompactionContext.preSelect(List<HStoreFile> filesCompacting)
Called before coprocessor preCompactSelection and should filter the candidates for coprocessor;
i.e.
|
List<HStoreFile> |
SortedCompactionPolicy.preSelectCompactionForCoprocessor(Collection<HStoreFile> candidates,
List<HStoreFile> filesCompacting) |
List<HStoreFile> |
SortedCompactionPolicy.preSelectCompactionForCoprocessor(Collection<HStoreFile> candidates,
List<HStoreFile> filesCompacting) |
List<HStoreFile> |
StripeCompactionPolicy.preSelectFilesForCoprocessor(StripeCompactionPolicy.StripeInformationProvider si,
List<HStoreFile> filesCompacting) |
protected void |
SortedCompactionPolicy.removeExcessFiles(ArrayList<HStoreFile> candidates,
boolean isUserCompaction,
boolean isMajorCompaction) |
abstract boolean |
CompactionContext.select(List<HStoreFile> filesCompacting,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean forceMajor)
Called to select files for compaction.
|
List<HStoreFile> |
ExploringCompactionPolicy.selectCompactFiles(List<HStoreFile> candidates,
int maxFiles,
boolean isOffpeak)
Select at least one file in the candidates list to compact, through choosing files from the
head to the index that the accumulation length larger the max compaction size.
|
CompactionRequestImpl |
FIFOCompactionPolicy.selectCompaction(Collection<HStoreFile> candidateFiles,
List<HStoreFile> filesCompacting,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean forceMajor) |
CompactionRequestImpl |
FIFOCompactionPolicy.selectCompaction(Collection<HStoreFile> candidateFiles,
List<HStoreFile> filesCompacting,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean forceMajor) |
CompactionRequestImpl |
SortedCompactionPolicy.selectCompaction(Collection<HStoreFile> candidateFiles,
List<HStoreFile> filesCompacting,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean forceMajor) |
CompactionRequestImpl |
SortedCompactionPolicy.selectCompaction(Collection<HStoreFile> candidateFiles,
List<HStoreFile> filesCompacting,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean forceMajor) |
StripeCompactionPolicy.StripeCompactionRequest |
StripeCompactionPolicy.selectCompaction(StripeCompactionPolicy.StripeInformationProvider si,
List<HStoreFile> filesCompacting,
boolean isOffpeak) |
CompactionRequestImpl |
DateTieredCompactionPolicy.selectMajorCompaction(ArrayList<HStoreFile> candidateSelection) |
CompactionRequestImpl |
DateTieredCompactionPolicy.selectMinorCompaction(ArrayList<HStoreFile> candidateSelection,
boolean mayUseOffPeak,
boolean mayBeStuck)
We receive store files sorted in ascending order by seqId then scan the list of files.
|
boolean |
FIFOCompactionPolicy.shouldPerformMajorCompaction(Collection<HStoreFile> filesToCompact) |
boolean |
RatioBasedCompactionPolicy.shouldPerformMajorCompaction(Collection<HStoreFile> filesToCompact) |
boolean |
StripeCompactionPolicy.shouldPerformMajorCompaction(Collection<HStoreFile> filesToCompact) |
boolean |
DateTieredCompactionPolicy.shouldPerformMajorCompaction(Collection<HStoreFile> filesToCompact) |
abstract boolean |
SortedCompactionPolicy.shouldPerformMajorCompaction(Collection<HStoreFile> filesToCompact) |
abstract boolean |
CompactionPolicy.shouldPerformMajorCompaction(Collection<HStoreFile> filesToCompact) |
protected ArrayList<HStoreFile> |
SortedCompactionPolicy.skipLargeFiles(ArrayList<HStoreFile> candidates,
boolean mayUseOffpeak) |
void |
CompactionRequestImpl.updateFiles(Collection<HStoreFile> files) |
| Constructor and Description |
|---|
CompactionRequestImpl(Collection<HStoreFile> files) |
DateTieredCompactionRequest(Collection<HStoreFile> files,
List<Long> boundaryList,
Map<Long,String> boundaryPolicyMap) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.