| Package | Description |
|---|---|
| org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
| org.apache.hadoop.hbase.regionserver | |
| org.apache.hadoop.hbase.regionserver.compactions | |
| org.apache.hadoop.hbase.security.access |
| Modifier and Type | Method and Description |
|---|---|
default void |
RegionObserver.postCompact(ObserverContext<RegionCoprocessorEnvironment> c,
Store store,
StoreFile resultFile,
CompactionLifeCycleTracker tracker)
Called after compaction has completed and the new store file has been moved in to place.
|
default void |
RegionObserver.postCompactSelection(ObserverContext<RegionCoprocessorEnvironment> c,
Store store,
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList<StoreFile> selected,
CompactionLifeCycleTracker tracker)
Called after the
StoreFiles to compact have been selected from the available
candidates. |
default InternalScanner |
RegionObserver.preCompact(ObserverContext<RegionCoprocessorEnvironment> c,
Store store,
InternalScanner scanner,
ScanType scanType,
CompactionLifeCycleTracker tracker)
Called prior to writing the
StoreFiles selected for compaction into a new
StoreFile. |
default InternalScanner |
RegionObserver.preCompactScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c,
Store store,
List<? extends KeyValueScanner> scanners,
ScanType scanType,
long earliestPutTs,
InternalScanner s,
CompactionLifeCycleTracker tracker,
long readPoint)
Called prior to writing the
StoreFiles selected for compaction into a new
StoreFile and prior to creating the scanner used to read the input files. |
default void |
RegionObserver.preCompactSelection(ObserverContext<RegionCoprocessorEnvironment> c,
Store store,
List<StoreFile> candidates,
CompactionLifeCycleTracker tracker)
Called prior to selecting the
StoreFiles to compact from the list of
available candidates. |
| Modifier and Type | Method and Description |
|---|---|
void |
RegionCoprocessorHost.postCompact(Store store,
StoreFile resultFile,
CompactionLifeCycleTracker tracker,
User user)
Called after the store compaction has completed.
|
void |
RegionCoprocessorHost.postCompactSelection(Store store,
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList<StoreFile> selected,
CompactionLifeCycleTracker tracker,
User user)
Called after the
StoreFiles to be compacted have been selected from the available
candidates. |
InternalScanner |
RegionCoprocessorHost.preCompact(Store store,
InternalScanner scanner,
ScanType scanType,
CompactionLifeCycleTracker tracker,
User user)
Called prior to rewriting the store files selected for compaction
|
InternalScanner |
RegionCoprocessorHost.preCompactScannerOpen(Store store,
List<StoreFileScanner> scanners,
ScanType scanType,
long earliestPutTs,
CompactionLifeCycleTracker tracker,
User user,
long readPoint)
|
boolean |
RegionCoprocessorHost.preCompactSelection(Store store,
List<StoreFile> candidates,
CompactionLifeCycleTracker tracker,
User user)
Called prior to selecting the
StoreFiles for compaction from the list of currently
available candidates. |
void |
Region.requestCompaction(byte[] family,
String why,
int priority,
CompactionLifeCycleTracker tracker,
User user)
Request compaction for the given family
|
void |
HRegion.requestCompaction(byte[] family,
String why,
int priority,
CompactionLifeCycleTracker tracker,
User user) |
void |
CompactSplit.requestCompaction(HRegion region,
HStore store,
String why,
int priority,
CompactionLifeCycleTracker tracker,
User user) |
void |
CompactSplit.requestCompaction(HRegion region,
String why,
int priority,
CompactionLifeCycleTracker tracker,
User user) |
Optional<CompactionContext> |
Store.requestCompaction(int priority,
CompactionLifeCycleTracker tracker,
User user) |
Optional<CompactionContext> |
HStore.requestCompaction(int priority,
CompactionLifeCycleTracker tracker,
User user) |
void |
Region.requestCompaction(String why,
int priority,
CompactionLifeCycleTracker tracker,
User user)
Request compaction on this region.
|
void |
HRegion.requestCompaction(String why,
int priority,
CompactionLifeCycleTracker tracker,
User user) |
| Modifier and Type | Field and Description |
|---|---|
static CompactionLifeCycleTracker |
CompactionLifeCycleTracker.DUMMY |
| Modifier and Type | Method and Description |
|---|---|
CompactionLifeCycleTracker |
CompactionRequest.getTracker() |
| Modifier and Type | Method and Description |
|---|---|
void |
CompactionRequest.setTracker(CompactionLifeCycleTracker tracker) |
| Modifier and Type | Method and Description |
|---|---|
InternalScanner |
AccessController.preCompact(ObserverContext<RegionCoprocessorEnvironment> c,
Store store,
InternalScanner scanner,
ScanType scanType,
CompactionLifeCycleTracker tracker) |
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.