Class TestCoprocessorConfiguration
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestCoprocessorConfiguration
Tests for global coprocessor loading configuration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.apache.hadoop.conf.Configurationprivate static final org.apache.hadoop.hbase.client.RegionInfoprivate static final AtomicBooleanprivate static final AtomicBooleanprivate static final org.apache.hadoop.hbase.client.TableDescriptorprivate static final org.apache.hadoop.hbase.TableNameorg.junit.rules.ExpectedException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidRough test that Coprocessor Environment is Read-Only.voidvoidvoidvoid
-
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
-