public class TestMasterObserver extends Object
MasterObserver
interface hooks at all appropriate times during normal HMaster operations.| Modifier and Type | Class and Description |
|---|---|
static class |
TestMasterObserver.CPMasterObserver |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
static CountDownLatch |
tableCreationLatch |
static CountDownLatch |
tableDeletionLatch |
private static org.apache.hadoop.hbase.TableName |
TEST_CLONE |
private static byte[] |
TEST_FAMILY |
private static byte[] |
TEST_FAMILY2 |
private static byte[] |
TEST_SNAPSHOT |
private static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestMasterObserver() |
| Modifier and Type | Method and Description |
|---|---|
private 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 |
setupBeforeClass() |
static void |
tearDownAfterClass() |
void |
testAbortProcedureOperation() |
void |
testGetLocksOperation() |
void |
testGetProceduresOperation() |
void |
testNamespaceOperations() |
void |
testQueueLockAndLockHeartbeatOperations() |
void |
testRegionTransitionOperations() |
void |
testSnapshotOperations() |
void |
testStarted() |
void |
testTableDescriptorsEnumeration() |
void |
testTableNamesEnumeration() |
void |
testTableOperations() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public static CountDownLatch tableCreationLatch
public static CountDownLatch tableDeletionLatch
private static HBaseTestingUtility UTIL
private static byte[] TEST_SNAPSHOT
private static org.apache.hadoop.hbase.TableName TEST_CLONE
private static byte[] TEST_FAMILY
private static byte[] TEST_FAMILY2
public org.junit.rules.TestName name
public TestMasterObserver()
public static void setupBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testStarted() throws Exception
Exceptionpublic void testTableOperations() throws Exception
Exceptionpublic void testSnapshotOperations() throws Exception
Exceptionpublic void testNamespaceOperations() throws Exception
Exceptionprivate void modifyTableSync(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.HTableDescriptor htd) throws IOException
IOExceptionpublic void testRegionTransitionOperations() throws Exception
Exceptionpublic void testTableDescriptorsEnumeration() throws Exception
Exceptionpublic void testTableNamesEnumeration() throws Exception
Exceptionpublic void testAbortProcedureOperation() throws Exception
Exceptionpublic void testGetProceduresOperation() throws Exception
Exceptionpublic void testGetLocksOperation() throws Exception
Exceptionprivate void deleteTable(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.TableName tableName) throws Exception
Exceptionpublic void testQueueLockAndLockHeartbeatOperations() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.