Class TestCoprocessorConfiguration
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestCoprocessorConfiguration
Tests for global coprocessor loading configuration
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.apache.hadoop.conf.Configuration
private static final org.apache.hadoop.hbase.HRegionInfo
private static final AtomicBoolean
private static final AtomicBoolean
private static final org.apache.hadoop.hbase.HTableDescriptor
private static final org.apache.hadoop.hbase.TableName
org.junit.rules.ExpectedException
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Rough test that Coprocessor Environment is Read-Only.void
void
void
void
-
Field Details
-
CLASS_RULE
-
thrown
-
CONF
-
TABLENAME
-
REGIONINFO
-
TABLEDESC
-
systemCoprocessorLoaded
-
tableCoprocessorLoaded
-
-
Constructor Details
-
TestCoprocessorConfiguration
public TestCoprocessorConfiguration()
-
-
Method Details
-
testRegionCoprocessorHostDefaults
- Throws:
Exception
-
testRegionServerCoprocessorHostDefaults
- Throws:
Exception
-
testMasterCoprocessorHostDefaults
- Throws:
Exception
-
testRegionCoprocessorHostAllDisabled
- Throws:
Exception
-
testRegionCoprocessorHostTableLoadingDisabled
- Throws:
Exception
-
testReadOnlyConfiguration
Rough test that Coprocessor Environment is Read-Only. Just check a random CP and see that it returns a read-only config.- Throws:
Exception
-