Interface RestoreJob

All Superinterfaces:
org.apache.hadoop.conf.Configurable
All Known Implementing Classes:
MapReduceRestoreJob

@Private public interface RestoreJob extends org.apache.hadoop.conf.Configurable
Restore operation job interface Concrete implementation is provided by backup provider, see BackupRestoreFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(org.apache.hadoop.fs.Path[] dirPaths, TableName[] fromTables, org.apache.hadoop.fs.Path restoreRootDir, TableName[] toTables, boolean fullBackupRestore)
    Run restore operation

    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 directories
      fromTables - from tables
      restoreRootDir - output file system
      toTables - to tables
      fullBackupRestore - full backup restore
      Throws:
      IOException - if running the job fails