Class TestCoreRegionCoprocessor
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestCoreRegionCoprocessor
Test CoreCoprocessor Annotation works giving access to facility not usually available. Test
RegionCoprocessor.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Annotate with CoreCoprocessor.static class
No annotation with CoreCoprocessor. -
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) HBaseTestingUtility
org.junit.rules.TestName
private org.apache.hadoop.hbase.regionserver.HRegion
private org.apache.hadoop.hbase.regionserver.RegionServerServices
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
name
-
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
-