Class SimpleRegionObserver
java.lang.Object
org.apache.hadoop.hbase.coprocessor.SimpleRegionObserver
- All Implemented Interfaces:
org.apache.hadoop.hbase.Coprocessor
,org.apache.hadoop.hbase.coprocessor.RegionCoprocessor
,org.apache.hadoop.hbase.coprocessor.RegionObserver
- Direct Known Subclasses:
TestCoprocessorHost.SimpleRegionObserverV2
,TestCoprocessorHost.SimpleRegionObserverV3
,TestIncrementTimeRange.MyObserver
,TestNegativeMemStoreSizeWithSlowCoprocessor.FlushingRegionObserver
,TestRegionServerCoprocessorExceptionWithAbort.BuggyRegionObserver
,TestRegionServerCoprocessorExceptionWithRemove.BuggyRegionObserver
public class SimpleRegionObserver
extends Object
implements org.apache.hadoop.hbase.coprocessor.RegionCoprocessor, org.apache.hadoop.hbase.coprocessor.RegionObserver
A sample region observer that tests the RegionObserver interface. It works with
TestRegionObserverInterface to provide the test case.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.Coprocessor
org.apache.hadoop.hbase.Coprocessor.State
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.coprocessor.RegionObserver
org.apache.hadoop.hbase.coprocessor.RegionObserver.MutationType
-
Field Summary
Modifier and TypeFieldDescription(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) final AtomicInteger
(package private) static final String
(package private) final AtomicBoolean
(package private) static final byte[]
Fields inherited from interface org.apache.hadoop.hbase.Coprocessor
PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
int
Optional<org.apache.hadoop.hbase.coprocessor.RegionObserver>
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
org.apache.hadoop.hbase.client.Result
postAppend
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Append append, org.apache.hadoop.hbase.client.Result result) void
postBatchMutate
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress<org.apache.hadoop.hbase.client.Mutation> miniBatchOp) void
postBatchMutateIndispensably
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress<org.apache.hadoop.hbase.client.Mutation> miniBatchOp, boolean success) void
postBulkLoadHFile
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.util.Pair<byte[], String>> familyPaths, Map<byte[], List<org.apache.hadoop.fs.Path>> map) boolean
postCheckAndDelete
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Delete delete, boolean result) boolean
postCheckAndDelete
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Delete delete, boolean result) org.apache.hadoop.hbase.client.CheckAndMutateResult
postCheckAndMutate
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.CheckAndMutate checkAndMutate, org.apache.hadoop.hbase.client.CheckAndMutateResult result) boolean
postCheckAndPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) boolean
postCheckAndPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Put put, boolean result) void
postClose
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, boolean abortRequested) void
postCloseRegionOperation
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.regionserver.Region.Operation op) void
postCompact
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.StoreFile resultFile, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) void
postCompactSelection
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, List<? extends org.apache.hadoop.hbase.regionserver.StoreFile> selected, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) void
postDelete
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Delete delete, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) void
postFlush
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.StoreFile resultFile, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) void
postGetOp
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Get get, List<org.apache.hadoop.hbase.Cell> results) org.apache.hadoop.hbase.client.Result
postIncrement
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Increment increment, org.apache.hadoop.hbase.client.Result result) void
postOpen
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c) void
postPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) void
postReplayWALs
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path edits) void
postScannerClose
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.InternalScanner s) boolean
postScannerFilterRow
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.regionserver.InternalScanner s, org.apache.hadoop.hbase.Cell currentRow, boolean hasMore) boolean
postScannerNext
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.InternalScanner s, List<org.apache.hadoop.hbase.client.Result> results, int limit, boolean hasMore) org.apache.hadoop.hbase.regionserver.RegionScanner
postScannerOpen
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.hbase.regionserver.RegionScanner s) void
postStartRegionOperation
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.regionserver.Region.Operation op) org.apache.hadoop.hbase.regionserver.StoreFileReader
postStoreFileReaderOpen
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, org.apache.hadoop.hbase.io.FSDataInputStreamWrapper in, long size, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.Reference r, org.apache.hadoop.hbase.regionserver.StoreFileReader reader) void
postWALRestore
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) org.apache.hadoop.hbase.client.Result
preAppend
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Append append) org.apache.hadoop.hbase.client.Result
preAppendAfterRowLock
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Append append) void
preBatchMutate
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress<org.apache.hadoop.hbase.client.Mutation> miniBatchOp) void
preBulkLoadHFile
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.util.Pair<byte[], String>> familyPaths) boolean
preCheckAndDelete
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Delete delete, boolean result) boolean
preCheckAndDelete
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Delete delete, boolean result) boolean
preCheckAndDeleteAfterRowLock
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Delete delete, boolean result) boolean
preCheckAndDeleteAfterRowLock
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Delete delete, boolean result) org.apache.hadoop.hbase.client.CheckAndMutateResult
preCheckAndMutate
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.CheckAndMutate checkAndMutate, org.apache.hadoop.hbase.client.CheckAndMutateResult result) org.apache.hadoop.hbase.client.CheckAndMutateResult
preCheckAndMutateAfterRowLock
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.CheckAndMutate checkAndMutate, org.apache.hadoop.hbase.client.CheckAndMutateResult result) boolean
preCheckAndPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) boolean
preCheckAndPut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Put put, boolean result) boolean
preCheckAndPutAfterRowLock
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) boolean
preCheckAndPutAfterRowLock
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Put put, boolean result) void
preClose
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, boolean abortRequested) org.apache.hadoop.hbase.regionserver.InternalScanner
preCompact
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.InternalScanner scanner, org.apache.hadoop.hbase.regionserver.ScanType scanType, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) void
preCompactScannerOpen
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.ScanType scanType, org.apache.hadoop.hbase.regionserver.ScanOptions options, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) void
preCompactSelection
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, List<? extends org.apache.hadoop.hbase.regionserver.StoreFile> candidates, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker) void
preDelete
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Delete delete, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) org.apache.hadoop.hbase.regionserver.InternalScanner
preFlush
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.InternalScanner scanner, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) void
preFlushScannerOpen
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.ScanOptions options, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) void
preGetOp
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Get get, List<org.apache.hadoop.hbase.Cell> results) org.apache.hadoop.hbase.client.Result
preIncrement
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Increment increment) org.apache.hadoop.hbase.client.Result
preIncrementAfterRowLock
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Increment increment) void
preMemStoreCompactionCompactScannerOpen
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.ScanOptions options) void
preOpen
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c) void
prePrepareTimeStampForDeleteVersion
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Mutation delete, org.apache.hadoop.hbase.Cell cell, byte[] byteNow, org.apache.hadoop.hbase.client.Get get) void
prePut
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) void
preReplayWALs
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path edits) void
preScannerClose
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.InternalScanner s) boolean
preScannerNext
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.InternalScanner s, List<org.apache.hadoop.hbase.client.Result> results, int limit, boolean hasMore) void
preScannerOpen
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Scan scan) org.apache.hadoop.hbase.regionserver.StoreFileReader
preStoreFileReaderOpen
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, org.apache.hadoop.hbase.io.FSDataInputStreamWrapper in, long size, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.Reference r, org.apache.hadoop.hbase.regionserver.StoreFileReader reader) void
preStoreScannerOpen
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.ScanOptions options) void
preWALAppend
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.wal.WALKey key, org.apache.hadoop.hbase.wal.WALEdit edit) void
preWALRestore
(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) private void
setScanOptions
(org.apache.hadoop.hbase.regionserver.ScanOptions options) void
void
start
(org.apache.hadoop.hbase.CoprocessorEnvironment e) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.Coprocessor
getServices, stop
Methods inherited from interface org.apache.hadoop.hbase.coprocessor.RegionCoprocessor
getBulkLoadObserver, getEndpointObserver
Methods inherited from interface org.apache.hadoop.hbase.coprocessor.RegionObserver
postAppend, postAppendBeforeWAL, postCommitStoreFile, postDelete, postExists, postFlush, postIncrement, postIncrementBeforeWAL, postInstantiateDeleteTracker, postMemStoreCompaction, postMutationBeforeWAL, postPut, preAppend, preCommitStoreFile, preDelete, preExists, preFlush, preIncrement, preMemStoreCompaction, preMemStoreCompactionCompact, prePut
-
Field Details
-
ctBeforeDelete
-
ctPreOpen
-
ctPostOpen
-
ctPreClose
-
ctPostClose
-
ctPreFlush
-
ctPostFlush
-
ctPreCompactSelect
-
ctPostCompactSelect
-
ctPreCompact
-
ctPostCompact
-
ctPreGet
-
ctPostGet
-
ctPrePut
-
ctPostPut
-
ctPreDeleted
-
ctPrePrepareDeleteTS
-
ctPostDeleted
-
ctPreIncrement
-
ctPreIncrementAfterRowLock
-
ctPreAppend
-
ctPreAppendAfterRowLock
-
ctPostIncrement
-
ctPostAppend
-
ctPreCheckAndPut
-
ctPreCheckAndPutWithFilter
-
ctPreCheckAndPutAfterRowLock
-
ctPreCheckAndPutWithFilterAfterRowLock
-
ctPostCheckAndPut
-
ctPostCheckAndPutWithFilter
-
ctPreCheckAndDelete
-
ctPreCheckAndDeleteWithFilter
-
ctPreCheckAndDeleteAfterRowLock
-
ctPreCheckAndDeleteWithFilterAfterRowLock
-
ctPostCheckAndDelete
-
ctPostCheckAndDeleteWithFilter
-
ctPreCheckAndMutate
-
ctPreCheckAndMutateAfterRowLock
-
ctPostCheckAndMutate
-
ctPreScannerNext
-
ctPostScannerNext
-
ctPostScannerFilterRow
-
ctPreScannerClose
-
ctPostScannerClose
-
ctPreScannerOpen
-
ctPostScannerOpen
-
ctPreBulkLoadHFile
-
ctPostBulkLoadHFile
-
ctPreBatchMutate
-
ctPostBatchMutate
-
ctPreReplayWALs
-
ctPostReplayWALs
-
ctPreWALRestore
-
ctPostWALRestore
-
ctPreStoreFileReaderOpen
-
ctPostStoreFileReaderOpen
-
ctPostBatchMutateIndispensably
-
ctPostStartRegionOperation
-
ctPostCloseRegionOperation
-
throwOnPostFlush
-
ctPreWALAppend
-
TABLE_SKIPPED
- See Also:
-
extendedAttributes
Map<String,byte[]> extendedAttributes -
WAL_EXTENDED_ATTRIBUTE_BYTES
-
-
Constructor Details
-
SimpleRegionObserver
public SimpleRegionObserver()
-
-
Method Details
-
setThrowOnPostFlush
-
getRegionObserver
- Specified by:
getRegionObserver
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionCoprocessor
-
start
- Specified by:
start
in interfaceorg.apache.hadoop.hbase.Coprocessor
- Throws:
IOException
-
preOpen
public void preOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c) - Specified by:
preOpen
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
-
postOpen
public void postOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c) - Specified by:
postOpen
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
-
wasOpened
-
preClose
public void preClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, boolean abortRequested) - Specified by:
preClose
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
-
postClose
public void postClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, boolean abortRequested) - Specified by:
postClose
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
-
wasClosed
-
preFlush
public org.apache.hadoop.hbase.regionserver.InternalScanner preFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.InternalScanner scanner, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) throws IOException - Specified by:
preFlush
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postFlush
public void postFlush(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.StoreFile resultFile, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) throws IOException - Specified by:
postFlush
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
wasFlushed
-
preCompactSelection
public void preCompactSelection(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, List<? extends org.apache.hadoop.hbase.regionserver.StoreFile> candidates, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker) throws IOException - Specified by:
preCompactSelection
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postCompactSelection
public void postCompactSelection(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, List<? extends org.apache.hadoop.hbase.regionserver.StoreFile> selected, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) - Specified by:
postCompactSelection
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
-
preCompact
public org.apache.hadoop.hbase.regionserver.InternalScanner preCompact(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.InternalScanner scanner, org.apache.hadoop.hbase.regionserver.ScanType scanType, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) throws IOException - Specified by:
preCompact
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postCompact
public void postCompact(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.StoreFile resultFile, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) throws IOException - Specified by:
postCompact
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
wasCompacted
-
preScannerOpen
public void preScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Scan scan) throws IOException - Specified by:
preScannerOpen
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postScannerOpen
public org.apache.hadoop.hbase.regionserver.RegionScanner postScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.hbase.regionserver.RegionScanner s) throws IOException - Specified by:
postScannerOpen
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preScannerNext
public boolean preScannerNext(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.InternalScanner s, List<org.apache.hadoop.hbase.client.Result> results, int limit, boolean hasMore) throws IOException - Specified by:
preScannerNext
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postScannerNext
public boolean postScannerNext(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.InternalScanner s, List<org.apache.hadoop.hbase.client.Result> results, int limit, boolean hasMore) throws IOException - Specified by:
postScannerNext
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postScannerFilterRow
public boolean postScannerFilterRow(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.regionserver.InternalScanner s, org.apache.hadoop.hbase.Cell currentRow, boolean hasMore) throws IOException - Specified by:
postScannerFilterRow
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preScannerClose
public void preScannerClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.InternalScanner s) throws IOException - Specified by:
preScannerClose
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postScannerClose
public void postScannerClose(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.InternalScanner s) throws IOException - Specified by:
postScannerClose
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preGetOp
public void preGetOp(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Get get, List<org.apache.hadoop.hbase.Cell> results) throws IOException - Specified by:
preGetOp
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postGetOp
public void postGetOp(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Get get, List<org.apache.hadoop.hbase.Cell> results) - Specified by:
postGetOp
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
-
prePut
public void prePut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) throws IOException - Specified by:
prePut
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postPut
public void postPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Put put, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) throws IOException - Specified by:
postPut
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preDelete
public void preDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Delete delete, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) throws IOException - Specified by:
preDelete
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
prePrepareTimeStampForDeleteVersion
public void prePrepareTimeStampForDeleteVersion(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Mutation delete, org.apache.hadoop.hbase.Cell cell, byte[] byteNow, org.apache.hadoop.hbase.client.Get get) throws IOException - Specified by:
prePrepareTimeStampForDeleteVersion
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postDelete
public void postDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Delete delete, org.apache.hadoop.hbase.wal.WALEdit edit, org.apache.hadoop.hbase.client.Durability durability) throws IOException - Specified by:
postDelete
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preBatchMutate
public void preBatchMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress<org.apache.hadoop.hbase.client.Mutation> miniBatchOp) throws IOException - Specified by:
preBatchMutate
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postBatchMutate
public void postBatchMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress<org.apache.hadoop.hbase.client.Mutation> miniBatchOp) throws IOException - Specified by:
postBatchMutate
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postStartRegionOperation
public void postStartRegionOperation(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.regionserver.Region.Operation op) throws IOException - Specified by:
postStartRegionOperation
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postCloseRegionOperation
public void postCloseRegionOperation(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.regionserver.Region.Operation op) throws IOException - Specified by:
postCloseRegionOperation
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postBatchMutateIndispensably
public void postBatchMutateIndispensably(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.regionserver.MiniBatchOperationInProgress<org.apache.hadoop.hbase.client.Mutation> miniBatchOp, boolean success) throws IOException - Specified by:
postBatchMutateIndispensably
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preIncrement
public org.apache.hadoop.hbase.client.Result preIncrement(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Increment increment) throws IOException - Specified by:
preIncrement
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preIncrementAfterRowLock
public org.apache.hadoop.hbase.client.Result preIncrementAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Increment increment) throws IOException - Specified by:
preIncrementAfterRowLock
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postIncrement
public org.apache.hadoop.hbase.client.Result postIncrement(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.Increment increment, org.apache.hadoop.hbase.client.Result result) throws IOException - Specified by:
postIncrement
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preCheckAndPut
public boolean preCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) throws IOException - Specified by:
preCheckAndPut
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preCheckAndPut
public boolean preCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Put put, boolean result) throws IOException - Specified by:
preCheckAndPut
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preCheckAndPutAfterRowLock
public boolean preCheckAndPutAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) throws IOException - Specified by:
preCheckAndPutAfterRowLock
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preCheckAndPutAfterRowLock
public boolean preCheckAndPutAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Put put, boolean result) throws IOException - Specified by:
preCheckAndPutAfterRowLock
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postCheckAndPut
public boolean postCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Put put, boolean result) throws IOException - Specified by:
postCheckAndPut
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postCheckAndPut
public boolean postCheckAndPut(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Put put, boolean result) throws IOException - Specified by:
postCheckAndPut
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preCheckAndDelete
public boolean preCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Delete delete, boolean result) throws IOException - Specified by:
preCheckAndDelete
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preCheckAndDelete
public boolean preCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Delete delete, boolean result) throws IOException - Specified by:
preCheckAndDelete
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preCheckAndDeleteAfterRowLock
public boolean preCheckAndDeleteAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Delete delete, boolean result) throws IOException - Specified by:
preCheckAndDeleteAfterRowLock
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preCheckAndDeleteAfterRowLock
public boolean preCheckAndDeleteAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Delete delete, boolean result) throws IOException - Specified by:
preCheckAndDeleteAfterRowLock
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postCheckAndDelete
public boolean postCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.CompareOperator compareOp, org.apache.hadoop.hbase.filter.ByteArrayComparable comparator, org.apache.hadoop.hbase.client.Delete delete, boolean result) throws IOException - Specified by:
postCheckAndDelete
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postCheckAndDelete
public boolean postCheckAndDelete(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, byte[] row, org.apache.hadoop.hbase.filter.Filter filter, org.apache.hadoop.hbase.client.Delete delete, boolean result) throws IOException - Specified by:
postCheckAndDelete
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preCheckAndMutate
public org.apache.hadoop.hbase.client.CheckAndMutateResult preCheckAndMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.CheckAndMutate checkAndMutate, org.apache.hadoop.hbase.client.CheckAndMutateResult result) throws IOException - Specified by:
preCheckAndMutate
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preCheckAndMutateAfterRowLock
public org.apache.hadoop.hbase.client.CheckAndMutateResult preCheckAndMutateAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.CheckAndMutate checkAndMutate, org.apache.hadoop.hbase.client.CheckAndMutateResult result) throws IOException - Specified by:
preCheckAndMutateAfterRowLock
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postCheckAndMutate
public org.apache.hadoop.hbase.client.CheckAndMutateResult postCheckAndMutate(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.client.CheckAndMutate checkAndMutate, org.apache.hadoop.hbase.client.CheckAndMutateResult result) throws IOException - Specified by:
postCheckAndMutate
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preAppendAfterRowLock
public org.apache.hadoop.hbase.client.Result preAppendAfterRowLock(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Append append) throws IOException - Specified by:
preAppendAfterRowLock
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preAppend
public org.apache.hadoop.hbase.client.Result preAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Append append) throws IOException - Specified by:
preAppend
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postAppend
public org.apache.hadoop.hbase.client.Result postAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> e, org.apache.hadoop.hbase.client.Append append, org.apache.hadoop.hbase.client.Result result) throws IOException - Specified by:
postAppend
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preBulkLoadHFile
public void preBulkLoadHFile(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.util.Pair<byte[], String>> familyPaths) throws IOException- Specified by:
preBulkLoadHFile
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postBulkLoadHFile
public void postBulkLoadHFile(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, List<org.apache.hadoop.hbase.util.Pair<byte[], String>> familyPaths, Map<byte[], throws IOExceptionList<org.apache.hadoop.fs.Path>> map) - Specified by:
postBulkLoadHFile
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preReplayWALs
public void preReplayWALs(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path edits) throws IOException - Specified by:
preReplayWALs
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postReplayWALs
public void postReplayWALs(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.fs.Path edits) throws IOException - Specified by:
postReplayWALs
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preWALRestore
public void preWALRestore(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) throws IOException - Specified by:
preWALRestore
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postWALRestore
public void postWALRestore(org.apache.hadoop.hbase.coprocessor.ObserverContext<? extends org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> env, org.apache.hadoop.hbase.client.RegionInfo info, org.apache.hadoop.hbase.wal.WALKey logKey, org.apache.hadoop.hbase.wal.WALEdit logEdit) throws IOException - Specified by:
postWALRestore
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preStoreFileReaderOpen
public org.apache.hadoop.hbase.regionserver.StoreFileReader preStoreFileReaderOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, org.apache.hadoop.hbase.io.FSDataInputStreamWrapper in, long size, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.Reference r, org.apache.hadoop.hbase.regionserver.StoreFileReader reader) throws IOException - Specified by:
preStoreFileReaderOpen
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
postStoreFileReaderOpen
public org.apache.hadoop.hbase.regionserver.StoreFileReader postStoreFileReaderOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, org.apache.hadoop.hbase.io.FSDataInputStreamWrapper in, long size, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.hbase.io.Reference r, org.apache.hadoop.hbase.regionserver.StoreFileReader reader) throws IOException - Specified by:
postStoreFileReaderOpen
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preStoreScannerOpen
public void preStoreScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.ScanOptions options) throws IOException - Specified by:
preStoreScannerOpen
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preCompactScannerOpen
public void preCompactScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.ScanType scanType, org.apache.hadoop.hbase.regionserver.ScanOptions options, org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker tracker, org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest request) throws IOException - Specified by:
preCompactScannerOpen
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preFlushScannerOpen
public void preFlushScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.ScanOptions options, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker) throws IOException - Specified by:
preFlushScannerOpen
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
preMemStoreCompactionCompactScannerOpen
public void preMemStoreCompactionCompactScannerOpen(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> c, org.apache.hadoop.hbase.regionserver.Store store, org.apache.hadoop.hbase.regionserver.ScanOptions options) throws IOException - Specified by:
preMemStoreCompactionCompactScannerOpen
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
setScanOptions
-
preWALAppend
public void preWALAppend(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.wal.WALKey key, org.apache.hadoop.hbase.wal.WALEdit edit) throws IOException - Specified by:
preWALAppend
in interfaceorg.apache.hadoop.hbase.coprocessor.RegionObserver
- Throws:
IOException
-
hadPreGet
-
hadPostGet
-
hadPrePut
-
hadPostPut
-
hadPreBatchMutate
-
getPreBatchMutate
-
hadPostBatchMutate
-
getPostBatchMutate
-
hadPostBatchMutateIndispensably
-
getPostBatchMutateIndispensably
-
hadPostStartRegionOperation
-
hadPostCloseRegionOperation
-
hadDelete
-
getCtPostStartRegionOperation
-
getCtPostCloseRegionOperation
-
getPreCheckAndPut
-
getPreCheckAndPutWithFilter
-
getPreCheckAndPutAfterRowLock
-
getPreCheckAndPutWithFilterAfterRowLock
-
getPostCheckAndPut
-
getPostCheckAndPutWithFilter
-
getPreCheckAndDelete
-
getPreCheckAndDeleteWithFilter
-
getPreCheckAndDeleteAfterRowLock
-
getPreCheckAndDeleteWithFilterAfterRowLock
-
getPostCheckAndDelete
-
getPostCheckAndDeleteWithFilter
-
getPreCheckAndMutate
-
getPreCheckAndMutateAfterRowLock
-
getPostCheckAndMutate
-
hadPreIncrement
-
hadPreIncrementAfterRowLock
-
hadPostIncrement
-
hadPreAppend
-
hadPreAppendAfterRowLock
-
hadPostAppend
-
hadPrePreparedDeleteTS
-
hadPreReplayWALs
-
hadPostReplayWALs
-
hadPreWALRestore
-
hadPostWALRestore
-
wasScannerNextCalled
-
wasScannerFilterRowCalled
-
wasScannerCloseCalled
-
wasScannerOpenCalled
-
hadDeleted
-
hadPostBulkLoadHFile
-
hadPreBulkLoadHFile
-
getCtBeforeDelete
-
getCtPreOpen
-
getCtPostOpen
-
getCtPreClose
-
getCtPostClose
-
getCtPreFlush
-
getCtPostFlush
-
getCtPreCompactSelect
-
getCtPostCompactSelect
-
getCtPreCompact
-
getCtPostCompact
-
getCtPreGet
-
getCtPostGet
-
getCtPrePut
-
getCtPostPut
-
getCtPreDeleted
-
getCtPostDeleted
-
getCtPreIncrement
-
getCtPostIncrement
-
getCtPreReplayWALs
-
getCtPostReplayWALs
-
getCtPreWALRestore
-
getCtPostWALRestore
-
getCtPreWALAppend
-
wasStoreFileReaderOpenCalled
-