Package org.apache.hadoop.hbase
Class TestMetaTableLocator
java.lang.Object
org.apache.hadoop.hbase.TestMetaTableLocator
Test
MetaTableLocator
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
Wait on META. -
Field Summary
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.Abortable
static final HBaseClassTestRule
private static final org.slf4j.Logger
private static final org.apache.hadoop.hbase.ServerName
private static final HBaseTestingUtility
private org.apache.hadoop.hbase.zookeeper.ZKWatcher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
after()
static void
void
before()
static void
private void
startWaitAliveThenWaitItLives
(Thread t, int ms) void
Test normal operationsvoid
Test waiting on meat w/ no timeout specified.void
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
SN
-
watcher
-
abortable
-
-
Constructor Details
-
TestMetaTableLocator
public TestMetaTableLocator()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
IOException
-
before
- Throws:
IOException
-
after
-
testMetaLookup
public void testMetaLookup() throws IOException, InterruptedException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, org.apache.zookeeper.KeeperExceptionTest normal operations- Throws:
IOException
InterruptedException
org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
org.apache.zookeeper.KeeperException
-
testTimeoutWaitForMeta
- Throws:
IOException
InterruptedException
-
testNoTimeoutWaitForMeta
public void testNoTimeoutWaitForMeta() throws IOException, InterruptedException, org.apache.zookeeper.KeeperExceptionTest waiting on meat w/ no timeout specified.- Throws:
IOException
InterruptedException
org.apache.zookeeper.KeeperException
-
startWaitAliveThenWaitItLives
-