Package org.apache.hadoop.hbase.backup
Interface RestoreJob
- All Superinterfaces:
org.apache.hadoop.conf.Configurable
- All Known Implementing Classes:
MapReduceRestoreJob
Restore operation job interface Concrete implementation is provided by backup provider, see
BackupRestoreFactory-
Method Summary
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
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
-