Package org.apache.hadoop.hbase
Class TestMetaTableLocator
java.lang.Object
org.apache.hadoop.hbase.TestMetaTableLocator
@Tag("org.apache.hadoop.hbase.testclassification.MiscTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestMetaTableLocator
extends Object
Test
MetaTableLocator-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) classWait on META. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()static voidvoidbefore()static voidprivate voidstartWaitAliveThenWaitItLives(Thread t, int ms) voidTest normal operationsvoidTest waiting on meat w/ no timeout specified.void
-
Field Details
-
LOG
-
UTIL
-
SN
-
watcher
-
abortable
-
-
Constructor Details
-
TestMetaTableLocator
public TestMetaTableLocator()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
IOException
-
before
- Throws:
IOException
-
after
-
testMetaLookup
@Test public void testMetaLookup() throws IOException, InterruptedException, org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, org.apache.zookeeper.KeeperExceptionTest normal operations- Throws:
IOExceptionInterruptedExceptionorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionorg.apache.zookeeper.KeeperException
-
testTimeoutWaitForMeta
- Throws:
IOExceptionInterruptedException
-
testNoTimeoutWaitForMeta
@Test public void testNoTimeoutWaitForMeta() throws IOException, InterruptedException, org.apache.zookeeper.KeeperExceptionTest waiting on meat w/ no timeout specified.- Throws:
IOExceptionInterruptedExceptionorg.apache.zookeeper.KeeperException
-
startWaitAliveThenWaitItLives
-