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
Exception
public void testRegionServerCoprocessorHostDefaults() throws Exception
Exception
public void testMasterCoprocessorHostDefaults() throws Exception
Exception
public void testRegionCoprocessorHostAllDisabled() throws Exception
Exception
public void testRegionCoprocessorHostTableLoadingDisabled() throws Exception
Exception
public void testReadOnlyConfiguration() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.