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
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testStarted() throws Exception
Exception
public void testTableOperations() throws Exception
Exception
public void testSnapshotOperations() throws Exception
Exception
public void testNamespaceOperations() throws Exception
Exception
private void modifyTableSync(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.HTableDescriptor htd) throws IOException
IOException
public void testRegionTransitionOperations() throws Exception
Exception
public void testTableDescriptorsEnumeration() throws Exception
Exception
public void testTableNamesEnumeration() throws Exception
Exception
public void testAbortProcedureOperation() throws Exception
Exception
public void testGetProceduresOperation() throws Exception
Exception
public void testGetLocksOperation() throws Exception
Exception
private void deleteTable(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.TableName tableName) throws Exception
Exception
public void testQueueLockAndLockHeartbeatOperations() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.