public class TestEnableTableHandler
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestEnableTableHandler.MasterSyncObserver |
| Constructor and Description |
|---|
TestEnableTableHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createTable(HBaseTestingUtility testUtil,
HBaseAdmin admin,
HTableDescriptor htd,
byte[][] splitKeys) |
static void |
createTable(HBaseTestingUtility testUtil,
HTableDescriptor htd,
byte[][] splitKeys) |
static void |
deleteTable(HBaseTestingUtility testUtil,
HBaseAdmin admin,
TableName tableName) |
static void |
deleteTable(HBaseTestingUtility testUtil,
TableName tableName) |
void |
setUp() |
void |
tearDown() |
void |
testDeleteForSureClearsAllTableRowsFromMeta()
We were only clearing rows that had a hregioninfo column in hbase:meta.
|
void |
testDisableTableAndRestart() |
void |
testEnableTableWithNoRegionServers() |
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testEnableTableWithNoRegionServers()
throws java.lang.Exception
java.lang.Exceptionpublic void testDisableTableAndRestart()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteForSureClearsAllTableRowsFromMeta()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic static void createTable(HBaseTestingUtility testUtil, HTableDescriptor htd, byte[][] splitKeys) throws java.lang.Exception
java.lang.Exceptionpublic static void createTable(HBaseTestingUtility testUtil, HBaseAdmin admin, HTableDescriptor htd, byte[][] splitKeys) throws java.lang.Exception
java.lang.Exceptionpublic static void deleteTable(HBaseTestingUtility testUtil, TableName tableName) throws java.lang.Exception
java.lang.Exceptionpublic static void deleteTable(HBaseTestingUtility testUtil, HBaseAdmin admin, TableName tableName) throws java.lang.Exception
java.lang.Exception