public class TestEnableTable extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
TestEnableTable.MasterSyncObserver  | 
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
private static byte[] | 
FAMILYNAME  | 
private static org.slf4j.Logger | 
LOG  | 
org.junit.rules.TestName | 
name  | 
private static HBaseTestingUtility | 
TEST_UTIL  | 
| Constructor and Description | 
|---|
TestEnableTable()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
createTable(HBaseTestingUtility testUtil,
           org.apache.hadoop.hbase.HTableDescriptor htd,
           byte[][] splitKeys)  | 
static void | 
deleteTable(HBaseTestingUtility testUtil,
           org.apache.hadoop.hbase.TableName tableName)  | 
private ArrayList<org.apache.hadoop.hbase.HRegionInfo> | 
filterTableRegions(org.apache.hadoop.hbase.TableName tableName,
                  List<org.apache.hadoop.hbase.HRegionInfo> onlineRegions)  | 
void | 
setUp()  | 
void | 
tearDown()  | 
void | 
testDeleteForSureClearsAllTableRowsFromMeta()
We were only clearing rows that had a hregioninfo column in hbase:meta. 
 | 
void | 
testEnableTableWithNoRegionServers()  | 
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final org.slf4j.Logger LOG
private static final byte[] FAMILYNAME
public org.junit.rules.TestName name
public TestEnableTable()
public void testEnableTableWithNoRegionServers() throws Exception
Exceptionprivate ArrayList<org.apache.hadoop.hbase.HRegionInfo> filterTableRegions(org.apache.hadoop.hbase.TableName tableName, List<org.apache.hadoop.hbase.HRegionInfo> onlineRegions)
public void testDeleteForSureClearsAllTableRowsFromMeta() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static void createTable(HBaseTestingUtility testUtil, org.apache.hadoop.hbase.HTableDescriptor htd, byte[][] splitKeys) throws Exception
Exceptionpublic static void deleteTable(HBaseTestingUtility testUtil, org.apache.hadoop.hbase.TableName tableName) throws Exception
ExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.