Class TestCoprocessorSharedConnection
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestCoprocessorSharedConnection
Ensure Coprocessors get ShardConnections when they get a Connection from their
CoprocessorEnvironment.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final HBaseTestingUtilorg.junit.rules.TestName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidStart up a mini cluster with my three CPs loaded.private static voidcheckShared(org.apache.hadoop.hbase.client.Connection connection) voidtest()
-
Field Details
-
CLASS_RULE
-
name
-
HTU
-
-
Constructor Details
-
TestCoprocessorSharedConnection
public TestCoprocessorSharedConnection()
-
-
Method Details
-
beforeClass
Start up a mini cluster with my three CPs loaded.- Throws:
Exception
-
afterClass
- Throws:
Exception
-
test
- Throws:
IOException
-