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
Exception
private 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
IOException
InterruptedException
public static void createTable(HBaseTestingUtility testUtil, org.apache.hadoop.hbase.HTableDescriptor htd, byte[][] splitKeys) throws Exception
Exception
public static void deleteTable(HBaseTestingUtility testUtil, org.apache.hadoop.hbase.TableName tableName) throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.