Class TestCoreMasterCoprocessor
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestCoreMasterCoprocessor
Test CoreCoprocessor Annotation works giving access to facility not usually available. Test
MasterCoprocessor.
-
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 HBaseTestingUtil
private org.apache.hadoop.hbase.master.MasterCoprocessorHost
private org.apache.hadoop.hbase.master.MasterServices
org.junit.rules.TestName
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
name
-
HTU
-
ms
-
mch
-
-
Constructor Details
-
TestCoreMasterCoprocessor
public TestCoreMasterCoprocessor()
-
-
Method Details
-
before
- Throws:
Exception
-
after
- Throws:
IOException
-
testCoreRegionCoprocessor
Assert that when a Coprocessor is annotated with CoreCoprocessor, then it is possible to access a MasterServices instance. Assert the opposite too. Do it to MasterCoprocessors.- Throws:
IOException
-