Class TestCoreRegionCoprocessor
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestCoreRegionCoprocessor
@Tag("org.apache.hadoop.hbase.testclassification.CoprocessorTests") @Tag("org.apache.hadoop.hbase.testclassification.SmallTests")
public class TestCoreRegionCoprocessor
extends Object
Test CoreCoprocessor Annotation works giving access to facility not usually available. Test
RegionCoprocessor.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAnnotate with CoreCoprocessor.static classNo annotation with CoreCoprocessor. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String(package private) HBaseTestingUtilprivate org.apache.hadoop.hbase.regionserver.HRegionprivate org.apache.hadoop.hbase.regionserver.RegionServerServices -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
currentTestName
-
HTU
-
region
-
rss
-
-
Constructor Details
-
TestCoreRegionCoprocessor
public TestCoreRegionCoprocessor()
-
-
Method Details
-
before
- Throws:
IOException
-
after
- Throws:
IOException
-
testCoreRegionCoprocessor
Assert that when a Coprocessor is annotated with CoreCoprocessor, then it is possible to access a RegionServerServices instance. Assert the opposite too. Do it to RegionCoprocessors.- Throws:
IOException
-