Class TestCoreRegionServerCoprocessor
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestCoreRegionServerCoprocessor
Test CoreCoprocessor Annotation works giving access to facility not usually available. Test
RegionServerCoprocessor.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Annotate with CoreCoprocessor.static class
No annotation with CoreCoprocessor. -
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final HBaseTestingUtility
org.junit.rules.TestName
private org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost
private org.apache.hadoop.hbase.regionserver.RegionServerServices
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
name
-
HTU
-
rss
-
rsch
-
-
Constructor Details
-
TestCoreRegionServerCoprocessor
public TestCoreRegionServerCoprocessor()
-
-
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 RegionServerCoprocessors.- Throws:
IOException
-