Class TestTableDescriptorModificationFromClient
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestTableDescriptorModificationFromClient
Verify that the HTableDescriptor is updated after addColumn(), deleteColumn() and modifyTable()
 operations.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[]private static final byte[]org.junit.rules.TestNameprivate static org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidstatic voidStart up a mini cluster and put a small table of empty regions into it.voidsetup()voidvoidvoidvoidvoidvoidvoidprivate voidverifyTableDescriptor(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.TableName tableName, byte[]... families) private voidverifyTableDescriptor(org.apache.hadoop.hbase.TableName tableName, byte[]... families) 
- 
Field Details- 
CLASS_RULE
- 
name
- 
TEST_UTIL
- 
TABLE_NAME
- 
FAMILY_0
- 
FAMILY_1
 
- 
- 
Constructor Details- 
TestTableDescriptorModificationFromClient
 
- 
- 
Method Details- 
beforeAllTestsStart up a mini cluster and put a small table of empty regions into it.- Throws:
- Exception
 
- 
setup
- 
afterAllTests- Throws:
- Exception
 
- 
testModifyTable- Throws:
- IOException
 
- 
testAddColumn- Throws:
- IOException
 
- 
testAddSameColumnFamilyTwice- Throws:
- IOException
 
- 
testModifyColumnFamily- Throws:
- IOException
 
- 
testModifyNonExistingColumnFamily- Throws:
- IOException
 
- 
testDeleteColumn- Throws:
- IOException
 
- 
testDeleteSameColumnFamilyTwice- Throws:
- IOException
 
- 
verifyTableDescriptorprivate void verifyTableDescriptor(org.apache.hadoop.hbase.TableName tableName, byte[]... families) throws IOException - Throws:
- IOException
 
- 
verifyTableDescriptorprivate void verifyTableDescriptor(org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.TableName tableName, byte[]... families) 
 
-