Package org.apache.hadoop.hbase
Class TestColumnFamilyDescriptorDefaultVersions
java.lang.Object
org.apache.hadoop.hbase.TestColumnFamilyDescriptorDefaultVersions
@Tag("org.apache.hadoop.hbase.testclassification.MiscTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestColumnFamilyDescriptorDefaultVersions
extends Object
Verify that the ColumnFamilyDescriptor version is set correctly by default, hbase-site.xml, and
user input
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]private static org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidStart up a mini cluster and put a small table of empty regions into it.voidsetup(org.junit.jupiter.api.TestInfo testInfo) voidvoidvoidvoidprivate voidverifyColumnFamilyDescriptor(int expected, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] hcds, org.apache.hadoop.hbase.TableName tableName, byte[]... families) private voidverifyHColumnDescriptor(int expected, org.apache.hadoop.hbase.TableName tableName, byte[]... families)
-
Field Details
-
TEST_UTIL
-
TABLE_NAME
-
FAMILY
-
-
Constructor Details
-
TestColumnFamilyDescriptorDefaultVersions
-
-
Method Details
-
beforeAllTests
Start up a mini cluster and put a small table of empty regions into it.- Throws:
Exception
-
setup
-
afterAllTests
- Throws:
Exception
-
testCreateTableWithDefault
- Throws:
IOException
-
testCreateTableWithDefaultFromConf
- Throws:
Exception
-
testCreateTableWithSetVersion
- Throws:
Exception
-
testHColumnDescriptorCachedMaxVersions
- Throws:
Exception
-
verifyHColumnDescriptor
private void verifyHColumnDescriptor(int expected, org.apache.hadoop.hbase.TableName tableName, byte[]... families) throws IOException - Throws:
IOException
-
verifyColumnFamilyDescriptor
private void verifyColumnFamilyDescriptor(int expected, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] hcds, org.apache.hadoop.hbase.TableName tableName, byte[]... families)
-