Class TestBulkloadBase
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestBulkloadBase
- Direct Known Subclasses:
TestBulkLoad
,TestCompactionAfterBulkLoad
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.apache.hadoop.conf.Configuration
protected final byte[]
protected final byte[]
protected final byte[]
protected final org.apache.hadoop.hbase.wal.WAL
org.junit.rules.TestName
private final byte[]
private static HBaseTestingUtility
static org.junit.rules.TemporaryFolder
protected Boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
before()
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 String
createHFileForFamilies
(byte[] family) static Collection<Boolean>
data()
private static String
generateUniqueName
(String suffix) private String
protected org.apache.hadoop.hbase.regionserver.HRegion
testRegionWithFamilies
(byte[]... families) protected org.apache.hadoop.hbase.regionserver.HRegion
testRegionWithFamiliesAndSpecifiedTableName
(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
-
data
-
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)
-