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.WALorg.junit.rules.TestNameprivate final byte[]private static HBaseTestingUtilitystatic org.junit.rules.TemporaryFolderprotected Boolean - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidbefore()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) static Collection<Boolean>data()private static StringgenerateUniqueName(String suffix) private Stringprotected 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
- 
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)  
 -