Package org.apache.hadoop.hbase.backup
Class IntegrationTestContinuousBackupRestore
java.lang.Object
org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.IntegrationTestBase
org.apache.hadoop.hbase.backup.IntegrationTestBackupRestoreBase
org.apache.hadoop.hbase.backup.IntegrationTestContinuousBackupRestore
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
@Tag("org.apache.hadoop.hbase.testclassification.IntegrationTests")
public class IntegrationTestContinuousBackupRestore
extends IntegrationTestBackupRestoreBase
An integration test to detect regressions in HBASE-28957. Create a table with many regions, load
data, perform series backup/load operations with continuous backup enabled, then restore and
verify data.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.backup.IntegrationTestBackupRestoreBase
IntegrationTestBackupRestoreBase.BackupAndRestoreThreadNested classes/interfaces inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.util.AbstractHBaseTool.OptionsOrderComparator -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprotected static final org.slf4j.LoggerFields inherited from class org.apache.hadoop.hbase.backup.IntegrationTestBackupRestoreBase
backupRootDir, COLUMN_NAME, DEFAULT_BACKUP_ROOT_DIR, DEFAULT_NUM_ITERATIONS, DEFAULT_NUMBER_OF_TABLES, DEFAULT_REGION_COUNT, DEFAULT_REGIONSERVER_COUNT, DEFAULT_ROWS_IN_ITERATION, fs, NUM_ITERATIONS_KEY, NUMBER_OF_TABLES_KEY, numIterations, numTables, REGION_COUNT_KEY, regionsCountPerServer, REGIONSERVER_COUNT_KEY, regionServerCount, ROWS_PER_ITERATION_KEY, rowsInIteration, SLEEP_TIME_DEFAULT, SLEEP_TIME_KEY, sleepTime, tableNamesFields inherited from class org.apache.hadoop.hbase.IntegrationTestBase
CHAOS_MONKEY_PROPS, monkey, MONKEY_LONG_OPT, monkeyProps, monkeyToUse, NO_CLUSTER_CLEANUP_LONG_OPT, noClusterCleanUp, utilFields inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
cmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS, LONG_HELP_OPTION, options, SHORT_HELP_OPTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidintReturns status of CLI executionvoidsetUp()voidMethods inherited from class org.apache.hadoop.hbase.backup.IntegrationTestBackupRestoreBase
addOptions, checkSucceeded, createAndSetBackupWalDir, createRestoreRequest, createTables, getColumnFamilies, getTablename, initializeTestParameters, processOptions, runTestMulti, setUpCluster, setUpMonkey, tearDownMethods inherited from class org.apache.hadoop.hbase.IntegrationTestBase
cleanUp, cleanUpCluster, cleanUpMonkey, cleanUpMonkey, doWork, getConf, getDefaultMonkeyFactory, getTestingUtil, loadMonkeyProperties, processBaseOptions, startMonkeyMethods inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getOptionAsDouble, getOptionAsInt, getOptionAsInt, getOptionAsLong, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConf
-
Field Details
-
CLASS_NAME
-
LOG
-
-
Constructor Details
-
IntegrationTestContinuousBackupRestore
-
-
Method Details
-
setUp
- Overrides:
setUpin classIntegrationTestBase- Throws:
Exception
-
testContinuousBackupRestore
- Throws:
Exception
-
runTestFromCommandLine
Returns status of CLI execution- Specified by:
runTestFromCommandLinein classIntegrationTestBase- Throws:
Exception
-
main
- Throws:
Exception
-