Package org.apache.hadoop.hbase
Class TestMetaTableAccessorNoCluster
java.lang.Object
org.apache.hadoop.hbase.TestMetaTableAccessorNoCluster
Test MetaTableAccessor but without spinning up a cluster. We mock regionserver back and forth (we
do spin up a zk cluster).
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.apache.hadoop.hbase.Abortable
static final HBaseClassTestRule
private static final org.slf4j.Logger
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
ABORTABLE
-
-
Constructor Details
-
TestMetaTableAccessorNoCluster
public TestMetaTableAccessorNoCluster()
-
-
Method Details
-
before
- Throws:
Exception
-
after
- Throws:
IOException
-
testMultiMutate
Expect a IOE to come out of multiMutate, even if down in the depths we throw a RuntimeException. See HBASE-23904- Throws:
Throwable
-
testGetHRegionInfo
- Throws:
IOException
-
testRideOverServerNotRunning
public void testRideOverServerNotRunning() throws IOException, InterruptedException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionTest that MetaTableAccessor will ride over server throwing "Server not running" IOEs.- Throws:
IOException
InterruptedException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
- See Also:
-