Package org.apache.hadoop.hbase.backup
Class TestIncrementalBackupMergeWithFailures.BackupMergeJobWithFailures
java.lang.Object
org.apache.hadoop.hbase.backup.mapreduce.MapReduceBackupMergeJob
org.apache.hadoop.hbase.backup.TestIncrementalBackupMergeWithFailures.BackupMergeJobWithFailures
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,org.apache.hadoop.hbase.backup.BackupMergeJob
- Enclosing class:
- TestIncrementalBackupMergeWithFailures
static class TestIncrementalBackupMergeWithFailures.BackupMergeJobWithFailures
extends org.apache.hadoop.hbase.backup.mapreduce.MapReduceBackupMergeJob
-
Field Summary
Modifier and TypeFieldDescription(package private) TestIncrementalBackupMergeWithFailures.FailurePhase
Fields inherited from class org.apache.hadoop.hbase.backup.mapreduce.MapReduceBackupMergeJob
conf, LOG, player
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
This is the exact copy of parent's run() with injections of different types of failuresvoid
setConf
(org.apache.hadoop.conf.Configuration conf) Methods inherited from class org.apache.hadoop.hbase.backup.mapreduce.MapReduceBackupMergeJob
cleanupBulkLoadDirs, convertToDest, copyFile, copyMetaData, deleteBackupImages, findInputDirectories, getBackupIdsToDelete, getConf, getTableNamesInBackupImages, moveData, toPathList, toTableNameList, updateBackupManifest
-
Field Details
-
failurePhase
-
-
Constructor Details
-
BackupMergeJobWithFailures
-
-
Method Details
-
setConf
- Specified by:
setConf
in interfaceorg.apache.hadoop.conf.Configurable
- Overrides:
setConf
in classorg.apache.hadoop.hbase.backup.mapreduce.MapReduceBackupMergeJob
-
run
This is the exact copy of parent's run() with injections of different types of failures- Specified by:
run
in interfaceorg.apache.hadoop.hbase.backup.BackupMergeJob
- Overrides:
run
in classorg.apache.hadoop.hbase.backup.mapreduce.MapReduceBackupMergeJob
- Throws:
IOException
-
checkFailure
private void checkFailure(TestIncrementalBackupMergeWithFailures.FailurePhase phase) throws IOException - Throws:
IOException
-