@InterfaceAudience.Private public interface RestoreJob extends org.apache.hadoop.conf.Configurable
BackupRestoreFactory
Modifier and Type | Method and Description |
---|---|
void |
run(org.apache.hadoop.fs.Path[] dirPaths,
TableName[] fromTables,
org.apache.hadoop.fs.Path restoreRootDir,
TableName[] toTables,
boolean fullBackupRestore)
Run restore operation
|
void run(org.apache.hadoop.fs.Path[] dirPaths, TableName[] fromTables, org.apache.hadoop.fs.Path restoreRootDir, TableName[] toTables, boolean fullBackupRestore) throws IOException
dirPaths
- path array of WAL log directoriesfromTables
- from tablesrestoreRootDir
- output file systemtoTables
- to tablesfullBackupRestore
- full backup restoreIOException
- if running the job failsCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.