Class TestBulkloadBase
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestBulkloadBase
- Direct Known Subclasses:
TestBulkLoad,TestCompactionAfterBulkLoad
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.hadoop.conf.Configurationprotected final byte[]protected final byte[]protected final byte[]protected final org.apache.hadoop.hbase.wal.WALprivate Stringprivate final byte[]private static HBaseTestingUtilstatic Fileprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbefore(org.junit.jupiter.api.TestInfo testInfo) protected static org.hamcrest.Matcher<org.apache.hadoop.hbase.wal.WALEdit>bulkLogWalEdit(byte[] typeBytes, byte[] tableName, byte[] familyName, List<String> storeFileNames) protected static org.hamcrest.Matcher<org.apache.hadoop.hbase.wal.WALEdit>bulkLogWalEditType(byte[] typeBytes) private StringcreateHFileForFamilies(byte[] family) protected static StringgenerateUniqueName(String suffix) private Stringstatic Stream<org.junit.jupiter.params.provider.Arguments>protected org.apache.hadoop.hbase.regionserver.HRegiontestRegionWithFamilies(byte[]... families) protected org.apache.hadoop.hbase.regionserver.HRegiontestRegionWithFamiliesAndSpecifiedTableName(org.apache.hadoop.hbase.TableName tableName, byte[]... families) withFamilyPathsFor(byte[]... families) protected org.apache.hadoop.hbase.util.Pair<byte[],String> withInvalidColumnFamilyButProperHFileLocation(byte[] family) protected org.apache.hadoop.hbase.util.Pair<byte[],String> withMissingHFileForFamily(byte[] family)
-
Field Details
-
testFolder
-
TEST_UTIL
-
log
-
conf
-
randomBytes
-
family1
-
family2
-
family3
-
useFileBasedSFT
-
name
-
-
Constructor Details
-
TestBulkloadBase
-
-
Method Details
-
parameters
-
before
- Throws:
IOException
-
withMissingHFileForFamily
-
getNotExistFilePath
-
withInvalidColumnFamilyButProperHFileLocation
protected org.apache.hadoop.hbase.util.Pair<byte[],String> withInvalidColumnFamilyButProperHFileLocation(byte[] family) throws IOException - Throws:
IOException
-
testRegionWithFamiliesAndSpecifiedTableName
protected org.apache.hadoop.hbase.regionserver.HRegion testRegionWithFamiliesAndSpecifiedTableName(org.apache.hadoop.hbase.TableName tableName, byte[]... families) throws IOException - Throws:
IOException
-
testRegionWithFamilies
protected org.apache.hadoop.hbase.regionserver.HRegion testRegionWithFamilies(byte[]... families) throws IOException - Throws:
IOException
-
getBlankFamilyPaths
-
withFamilyPathsFor
protected List<org.apache.hadoop.hbase.util.Pair<byte[],String>> withFamilyPathsFor(byte[]... families) throws IOException - Throws:
IOException
-
createHFileForFamilies
- Throws:
IOException
-
generateUniqueName
-
bulkLogWalEditType
protected static org.hamcrest.Matcher<org.apache.hadoop.hbase.wal.WALEdit> bulkLogWalEditType(byte[] typeBytes) -
bulkLogWalEdit
protected static org.hamcrest.Matcher<org.apache.hadoop.hbase.wal.WALEdit> bulkLogWalEdit(byte[] typeBytes, byte[] tableName, byte[] familyName, List<String> storeFileNames)
-