public class TestAdmin3 extends TestAdminBase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static String |
DST_IMPL |
private static org.slf4j.Logger |
LOG |
private static String |
SRC_IMPL |
ADMIN, name, NB_SERVERS, TEST_UTIL
Constructor and Description |
---|
TestAdmin3() |
Modifier and Type | Method and Description |
---|---|
void |
testDeleteEditUnknownColumnFamilyAndOrTable() |
void |
testDeleteLastColumnFamily() |
void |
testDisableAndEnableTable() |
void |
testDisableAndEnableTables() |
void |
testEnableDisableAddColumnDeleteColumn() |
void |
testEnableTableRetainAssignment()
Test retain assignment on enableTable.
|
void |
testGetTableDescriptor() |
void |
testModifyColumnFamilyStoreFileTracker() |
void |
testModifyStoreFileTrackerError() |
void |
testModifyTableStoreFileTracker() |
void |
testReadOnlyTableModify()
Verify schema change for read only table
|
private void |
verifyModifyColumnFamilyResult(org.apache.hadoop.hbase.TableName tableName,
byte[] family,
byte[] qual,
byte[] row,
byte[] value,
String sft) |
private void |
verifyModifyTableResult(org.apache.hadoop.hbase.TableName tableName,
byte[] family,
byte[] qual,
byte[] row,
byte[] value,
String sft) |
getStateFromMeta, setUpBeforeClass, tearDown, tearDownAfterClass
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final String SRC_IMPL
private static final String DST_IMPL
public TestAdmin3()
public void testDisableAndEnableTable() throws IOException
IOException
public void testDisableAndEnableTables() throws IOException
IOException
public void testEnableTableRetainAssignment() throws IOException
IOException
public void testEnableDisableAddColumnDeleteColumn() throws Exception
Exception
public void testGetTableDescriptor() throws IOException
IOException
public void testReadOnlyTableModify() throws IOException, InterruptedException
IOException
InterruptedException
public void testDeleteLastColumnFamily() throws Exception
Exception
public void testDeleteEditUnknownColumnFamilyAndOrTable() throws IOException
IOException
private void verifyModifyTableResult(org.apache.hadoop.hbase.TableName tableName, byte[] family, byte[] qual, byte[] row, byte[] value, String sft) throws IOException
IOException
public void testModifyTableStoreFileTracker() throws IOException
IOException
private void verifyModifyColumnFamilyResult(org.apache.hadoop.hbase.TableName tableName, byte[] family, byte[] qual, byte[] row, byte[] value, String sft) throws IOException
IOException
public void testModifyColumnFamilyStoreFileTracker() throws IOException
IOException
public void testModifyStoreFileTrackerError() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.