Package org.apache.hadoop.hbase.tool
Class SecureBulkLoadHFilesSplitRecoveryTest
java.lang.Object
org.apache.hadoop.hbase.tool.BulkLoadHFilesSplitRecoveryTestBase
org.apache.hadoop.hbase.tool.SecureBulkLoadHFilesSplitRecoveryTest
@Tag("org.apache.hadoop.hbase.testclassification.MiscTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class SecureBulkLoadHFilesSplitRecoveryTest
extends BulkLoadHFilesSplitRecoveryTestBase
Reruns TestBulkLoadHFilesSplitRecovery using BulkLoadHFiles in secure mode. This suite is unable
to verify the security handoff/turnove as miniCluster is running as system user thus has root
privileges and delegation tokens don't seem to work on miniDFS.
Thus SecureBulkload can only be completely verified by running integration tests against a secure
cluster. This suite is still invaluable as it verifies the other mechanisms that need to be
supported as part of a LoadIncrementalFiles call.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidtestBulkLoadPhaseFailure(org.junit.jupiter.api.TestInfo testInfo) Test that shows that exception thrown from the RS side will result in an exception on the LIHFile client.Methods inherited from class org.apache.hadoop.hbase.tool.BulkLoadHFilesSplitRecoveryTestBase
assertExpectedTable, assertExpectedTable, buildHFiles, family, rowkey, teardownCluster, testCorrectSplitPoint, testGroupOrSplitFailure, testGroupOrSplitPresplit, testRetryOnIOException, testSplitTmpFileCleanUp, testSplitWhileBulkLoadPhase, testSplitWhileBulkLoadPhaseWithoutItemMap, value
-
Constructor Details
-
SecureBulkLoadHFilesSplitRecoveryTest
-
-
Method Details
-
setupCluster
- Throws:
Exception
-
testBulkLoadPhaseFailure
Description copied from class:BulkLoadHFilesSplitRecoveryTestBaseTest that shows that exception thrown from the RS side will result in an exception on the LIHFile client.- Overrides:
testBulkLoadPhaseFailurein classBulkLoadHFilesSplitRecoveryTestBase
-