public class TestCoprocessorConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestCoprocessorConfiguration.SystemCoprocessor |
static class |
TestCoprocessorConfiguration.TableCoprocessor |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
CONF |
private static org.apache.hadoop.hbase.HRegionInfo |
REGIONINFO |
private static AtomicBoolean |
systemCoprocessorLoaded |
private static AtomicBoolean |
tableCoprocessorLoaded |
private static org.apache.hadoop.hbase.HTableDescriptor |
TABLEDESC |
private static org.apache.hadoop.hbase.TableName |
TABLENAME |
org.junit.rules.ExpectedException |
thrown |
| Constructor and Description |
|---|
TestCoprocessorConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
testMasterCoprocessorHostDefaults() |
void |
testReadOnlyConfiguration()
Rough test that Coprocessor Environment is Read-Only.
|
void |
testRegionCoprocessorHostAllDisabled() |
void |
testRegionCoprocessorHostDefaults() |
void |
testRegionCoprocessorHostTableLoadingDisabled() |
void |
testRegionServerCoprocessorHostDefaults() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.ExpectedException thrown
private static final org.apache.hadoop.conf.Configuration CONF
private static final org.apache.hadoop.hbase.TableName TABLENAME
private static final org.apache.hadoop.hbase.HRegionInfo REGIONINFO
private static final org.apache.hadoop.hbase.HTableDescriptor TABLEDESC
private static final AtomicBoolean systemCoprocessorLoaded
private static final AtomicBoolean tableCoprocessorLoaded
public TestCoprocessorConfiguration()
public void testRegionCoprocessorHostDefaults() throws Exception
Exceptionpublic void testRegionServerCoprocessorHostDefaults() throws Exception
Exceptionpublic void testMasterCoprocessorHostDefaults() throws Exception
Exceptionpublic void testRegionCoprocessorHostAllDisabled() throws Exception
Exceptionpublic void testRegionCoprocessorHostTableLoadingDisabled() throws Exception
Exceptionpublic void testReadOnlyConfiguration() throws Exception
ExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.