public class TestMetaTableLocator extends Object
MetaTableLocator| Modifier and Type | Class and Description |
|---|---|
(package private) class |
TestMetaTableLocator.WaitOnMetaThread
Wait on META.
|
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.hbase.Abortable |
abortable |
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.hbase.ServerName |
SN |
private static HBaseTestingUtility |
UTIL |
private org.apache.hadoop.hbase.zookeeper.ZKWatcher |
watcher |
| Constructor and Description |
|---|
TestMetaTableLocator() |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
static void |
afterClass() |
void |
before() |
static void |
beforeClass() |
private void |
startWaitAliveThenWaitItLives(Thread t,
int ms) |
void |
testMetaLookup()
Test normal operations
|
void |
testNoTimeoutWaitForMeta()
Test waiting on meat w/ no timeout specified.
|
void |
testTimeoutWaitForMeta() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility UTIL
private static final org.apache.hadoop.hbase.ServerName SN
private org.apache.hadoop.hbase.zookeeper.ZKWatcher watcher
private org.apache.hadoop.hbase.Abortable abortable
public TestMetaTableLocator()
public static void beforeClass() throws Exception
Exceptionpublic static void afterClass() throws IOException
IOExceptionpublic void before() throws IOException
IOExceptionpublic void after()
public void testMetaLookup() throws IOException, InterruptedException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, org.apache.zookeeper.KeeperException
IOExceptionInterruptedExceptionorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionorg.apache.zookeeper.KeeperExceptionpublic void testTimeoutWaitForMeta() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testNoTimeoutWaitForMeta() throws IOException, InterruptedException, org.apache.zookeeper.KeeperException
IOExceptionInterruptedExceptionorg.apache.zookeeper.KeeperExceptionprivate void startWaitAliveThenWaitItLives(Thread t, int ms)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.