Package org.apache.hadoop.hbase.coprocessor
package org.apache.hadoop.hbase.coprocessor
-
ClassDescriptionA bad Master Observer to prevent user to create/delete table once.Class for testing WALObserver coprocessor.A sample region observer that tests the RegionObserver interface.Tests for global coprocessor loading configurationTesting of coprocessor metrics end-to-end.MasterObserver that has a Timer metric for create table operation.RegionEndpoint to test metrics from endpoint callsRegionObserver that has a Counter for preGet()RegionServerObserver that has a Counter for rollWAL requests.WALObserver that has a Counter for walEdits written.Ensure Coprocessors get ShardConnections when they get a Connection from their CoprocessorEnvironment.Tests for master and regionserver coprocessor stop methodTest CoreCoprocessor Annotation works giving access to facility not usually available.Annotate with CoreCoprocessor.No annotation with CoreCoprocessor.Test CoreCoprocessor Annotation works giving access to facility not usually available.Annotate with CoreCoprocessor.No annotation with CoreCoprocessor.Test CoreCoprocessor Annotation works giving access to facility not usually available.Annotate with CoreCoprocessor.No annotation with CoreCoprocessor.This test runs batch mutation with Increments which have custom TimeRange.Tests unhandled exceptions thrown by coprocessors running on master.Tests unhandled exceptions thrown by coprocessors running on master.Tests invocation of the
MasterObserver
interface hooks at all appropriate times during normal HMaster operations.Test that verifies we do not have memstore size negative when a postPut/Delete hook is slow/expensive and a flush is triggered at the same time the coprocessow is doing its work.Test that a coprocessor can open a connection and write to another table, inside a hook.Coprocessor that creates an HTable with a pool to write to another tableCustom coprocessor that just copies the write to another table.Calls through to TestCoprocessor.Calls through to TestCoprocessor.Test that we fail if a Coprocessor tries to return a null scanner outRegionObserver.preFlush(ObserverContext, Store, InternalScanner, FlushLifeCycleTracker)
orRegionObserver.preCompact(ObserverContext, Store, InternalScanner, ScanType, CompactionLifeCycleTracker, CompactionRequest)
Coprocessor that returns null when preCompact or preFlush is called.Do the default logic inRegionObserver
interface.Don't allow any data to be written out in the compaction by creating a customStoreScanner
.Don't allow any data in a flush by creating a customStoreScanner
.Don't return any data from a scan by creating a customStoreScanner
.Tests unhandled exceptions thrown by coprocessors running on a regionserver..Tests unhandled exceptions thrown by coprocessors running on regionserver.Tests invocation of theMasterObserver
interface hooks at all appropriate times during normal HMaster operations.