public class TestMetaTableLocator
extends java.lang.Object
org.apache.hadoop.hbase.zookeeper.MetaTableLocator| Constructor and Description |
|---|
TestMetaTableLocator() |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
static void |
afterClass() |
void |
before() |
static void |
beforeClass() |
void |
testGetMetaServerConnectionFails()
Test we survive a connection refused
ConnectException |
void |
testInterruptWaitOnMeta()
Test interruptable while blocking wait on meta.
|
void |
testMetaLookup()
Test normal operations
|
void |
testNoTimeoutWaitForMeta()
Test waiting on meat w/ no timeout specified.
|
void |
testTimeoutWaitForMeta() |
void |
testVerifyMetaRegionLocationFails()
Test get of meta region fails properly if nothing to connect to.
|
void |
testVerifyMetaRegionServerNotRunning()
Test that verifyMetaRegionLocation properly handles getting a
ServerNotRunningException.
|
public static void beforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void afterClass()
throws java.io.IOException
java.io.IOExceptionpublic void before()
throws java.io.IOException
java.io.IOExceptionpublic void after()
public void testMetaLookup()
throws java.io.IOException,
java.lang.InterruptedException,
ServiceException,
KeeperException
java.io.IOExceptionjava.lang.InterruptedExceptionServiceExceptionKeeperExceptionpublic void testInterruptWaitOnMeta()
throws java.io.IOException,
java.lang.InterruptedException,
ServiceException
java.io.IOExceptionServiceExceptionjava.lang.InterruptedExceptionpublic void testGetMetaServerConnectionFails()
throws java.io.IOException,
java.lang.InterruptedException,
KeeperException,
ServiceException
ConnectExceptionjava.io.IOExceptionjava.lang.InterruptedExceptionKeeperExceptionServiceExceptionpublic void testVerifyMetaRegionServerNotRunning()
throws java.io.IOException,
java.lang.InterruptedException,
KeeperException,
ServiceException
java.io.IOExceptionjava.lang.InterruptedExceptionKeeperExceptionServiceExceptionpublic void testVerifyMetaRegionLocationFails()
throws java.io.IOException,
java.lang.InterruptedException,
KeeperException,
ServiceException
java.io.IOExceptionjava.lang.InterruptedExceptionKeeperExceptionServiceExceptionpublic void testTimeoutWaitForMeta()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testNoTimeoutWaitForMeta()
throws java.io.IOException,
java.lang.InterruptedException,
KeeperException
java.io.IOExceptionjava.lang.InterruptedExceptionKeeperException