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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerorg.junit.rules.TestNamestatic CountDownLatchstatic CountDownLatchprivate static org.apache.hadoop.hbase.TableNameprivate static byte[]private static byte[]private static byte[]private static HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddeleteTable(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.TableName tableName) private voidmodifyTableSync(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.HTableDescriptor htd) static voidstatic voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
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
-