Class TestBulkLoad
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestBulkloadBase
org.apache.hadoop.hbase.regionserver.TestBulkLoad
@Tag("org.apache.hadoop.hbase.testclassification.SmallTests")
public class TestBulkLoad
extends TestBulkloadBase
This class attempts to unit test bulk HLog loading.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.TestBulkloadBase
conf, family1, family2, family3, log, testFolder, useFileBasedSFT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.apache.hadoop.hbase.regionserver.TestBulkloadBase
before, bulkLogWalEdit, bulkLogWalEditType, generateUniqueName, parameters, testRegionWithFamilies, testRegionWithFamiliesAndSpecifiedTableName, withFamilyPathsFor, withInvalidColumnFamilyButProperHFileLocation, withMissingHFileForFamily
-
Constructor Details
-
TestBulkLoad
-
-
Method Details
-
verifyBulkLoadEvent
- Throws:
IOException
-
bulkHLogShouldThrowNoErrorAndWriteMarkerWithBlankInput
@TestTemplate public void bulkHLogShouldThrowNoErrorAndWriteMarkerWithBlankInput() throws IOException- Throws:
IOException
-
shouldBulkLoadSingleFamilyHLog
- Throws:
IOException
-
shouldBulkLoadManyFamilyHLog
- Throws:
IOException
-
shouldBulkLoadManyFamilyHLogEvenWhenTableNameNamespaceSpecified
@TestTemplate public void shouldBulkLoadManyFamilyHLogEvenWhenTableNameNamespaceSpecified() throws IOException- Throws:
IOException
-
shouldCrashIfBulkLoadFamiliesNotInTable
- Throws:
IOException
-
shouldCrashIfBulkLoadMultiFamiliesNotInTable
- Throws:
IOException
-
bulkHLogShouldThrowErrorWhenFamilySpecifiedAndHFileExistsButNotInTableDescriptor
@TestTemplate public void bulkHLogShouldThrowErrorWhenFamilySpecifiedAndHFileExistsButNotInTableDescriptor() throws IOException- Throws:
IOException
-
shouldThrowErrorIfBadFamilySpecifiedAsFamilyPath
- Throws:
IOException
-
shouldThrowErrorIfHFileDoesNotExist
- Throws:
IOException
-
shouldThrowErrorIfMultiHFileDoesNotExist
- Throws:
IOException
-