public class TestCoreMasterCoprocessor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestCoreMasterCoprocessor.CoreMasterCoprocessor
Annotate with CoreCoprocessor.
|
static class |
TestCoreMasterCoprocessor.NotCoreMasterCoprocessor
No annotation with CoreCoprocessor.
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static HBaseTestingUtility |
HTU |
private org.apache.hadoop.hbase.master.MasterCoprocessorHost |
mch |
private org.apache.hadoop.hbase.master.MasterServices |
ms |
org.junit.rules.TestName |
name |
Constructor and Description |
---|
TestCoreMasterCoprocessor() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
void |
testCoreRegionCoprocessor()
Assert that when a Coprocessor is annotated with CoreCoprocessor, then it is possible to
access a MasterServices instance.
|
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private static final HBaseTestingUtility HTU
private org.apache.hadoop.hbase.master.MasterServices ms
private org.apache.hadoop.hbase.master.MasterCoprocessorHost mch
public TestCoreMasterCoprocessor()
public void before() throws IOException
IOException
public void after() throws IOException
IOException
public void testCoreRegionCoprocessor() throws IOException
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.