Class TestMasterObserver
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Tests invocation of the
MasterObserver
interface
hooks at all appropriate times during normal HMaster operations.-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
org.junit.rules.TestName
static CountDownLatch
static CountDownLatch
private static org.apache.hadoop.hbase.TableName
private static byte[]
private static byte[]
private static byte[]
private static HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
deleteTable
(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.TableName tableName) private void
modifyTableSync
(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.HTableDescriptor htd) static void
static void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
tableCreationLatch
-
tableDeletionLatch
-
UTIL
-
TEST_SNAPSHOT
-
TEST_CLONE
-
TEST_FAMILY
-
TEST_FAMILY2
-
name
-
-
Constructor Details
-
TestMasterObserver
public TestMasterObserver()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testStarted
- Throws:
Exception
-
testTableOperations
- Throws:
Exception
-
testSnapshotOperations
- Throws:
Exception
-
testNamespaceOperations
- Throws:
Exception
-
modifyTableSync
private void modifyTableSync(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.HTableDescriptor htd) throws IOException - Throws:
IOException
-
testRegionTransitionOperations
- Throws:
Exception
-
testTableDescriptorsEnumeration
- Throws:
Exception
-
testTableNamesEnumeration
- Throws:
Exception
-
testAbortProcedureOperation
- Throws:
Exception
-
testGetProceduresOperation
- Throws:
Exception
-
testGetLocksOperation
- Throws:
Exception
-
deleteTable
private void deleteTable(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.TableName tableName) throws Exception - Throws:
Exception
-
testQueueLockAndLockHeartbeatOperations
- Throws:
Exception
-
testMasterStoreOperations
- Throws:
Exception
-
testUpdateConfiguration
- Throws:
Exception
-