Class TestCoprocessorShortCircuitRPC
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestCoprocessorShortCircuitRPC
Ensure Coprocessors get ShortCircuit Connections 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 HBaseTestingUtilityorg.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) private static voidcheckShortCircuit(org.apache.hadoop.hbase.client.Connection connection) voidtest()
-
Field Details
-
CLASS_RULE
-
name
-
HTU
-
-
Constructor Details
-
TestCoprocessorShortCircuitRPC
public TestCoprocessorShortCircuitRPC()
-
-
Method Details
-
beforeClass
Start up a mini cluster with my three CPs loaded.- Throws:
Exception
-
afterClass
- Throws:
Exception
-
checkShortCircuit
-
test
- Throws:
IOException
-