Class TestCoprocessorConfiguration
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestCoprocessorConfiguration
@Tag("org.apache.hadoop.hbase.testclassification.CoprocessorTests") @Tag("org.apache.hadoop.hbase.testclassification.SmallTests")
public class TestCoprocessorConfiguration
extends Object
Tests for global coprocessor loading configuration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate 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.TableName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidRough test that Coprocessor Environment is Read-Only.voidvoidvoidvoid
-
Field Details
-
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
-