Package org.apache.hadoop.hbase.backup
Interface RestoreJob
- All Superinterfaces:
org.apache.hadoop.conf.Configurable
- All Known Implementing Classes:
MapReduceRestoreJob
,MapReduceRestoreToOriginalSplitsJob
Restore operation job interface Concrete implementation is provided by backup provider, see
BackupRestoreFactory
-
Field Details
-
KEEP_ORIGINAL_SPLITS_KEY
- See Also:
-
BACKUP_ROOT_PATH_KEY
- See Also:
-
KEEP_ORIGINAL_SPLITS_DEFAULT
- See Also:
-
-
Method Details
-
run
void run(org.apache.hadoop.fs.Path[] dirPaths, TableName[] fromTables, org.apache.hadoop.fs.Path restoreRootDir, TableName[] toTables, boolean fullBackupRestore) throws IOException Run restore operation- Parameters:
dirPaths
- path array of WAL log directoriesfromTables
- from tablesrestoreRootDir
- output file systemtoTables
- to tablesfullBackupRestore
- full backup restore- Throws:
IOException
- if running the job fails
-