Class TestWALPlayer
java.lang.Object
org.apache.hadoop.hbase.mapreduce.TestWALPlayer
Basic test for the WALPlayer M/R tool
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static SingleProcessHBaseCluster
private static org.apache.hadoop.conf.Configuration
private static org.apache.hadoop.fs.FileSystem
private static org.apache.hadoop.fs.FileSystem
org.junit.rules.TestName
private static org.apache.hadoop.fs.Path
private static final HBaseTestingUtil
private static org.apache.hadoop.fs.Path
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
void
Test main methodvoid
Test that WALPlayer can replay recovered.edits files.void
Test WALKeyValueMapper setup and mapprivate void
testWALKeyValueMapper
(String tableConfigKey) void
void
Simple end-to-end testvoid
Tests that when you write multiple cells with the same timestamp they are properly sorted by their sequenceId in WALPlayer/CellSortReducer so that the correct one wins when querying from the resulting bulkloaded HFiles.
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
cluster
-
rootDir
-
walRootDir
-
fs
-
logFs
-
conf
-
name
-
-
Constructor Details
-
TestWALPlayer
public TestWALPlayer()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
testPlayingRecoveredEdit
Test that WALPlayer can replay recovered.edits files.- Throws:
Exception
-
testWALPlayerBulkLoadWithOverriddenTimestamps
Tests that when you write multiple cells with the same timestamp they are properly sorted by their sequenceId in WALPlayer/CellSortReducer so that the correct one wins when querying from the resulting bulkloaded HFiles. See HBASE-27649- Throws:
Exception
-
testWALPlayer
Simple end-to-end test- Throws:
Exception
-
testWALKeyValueMapper
Test WALKeyValueMapper setup and map- Throws:
Exception
-
testWALKeyValueMapperWithDeprecatedConfig
- Throws:
Exception
-
testWALKeyValueMapper
- Throws:
Exception
-
testMainMethod
Test main method- Throws:
Exception
-