org.apache.hadoop.hbase.snapshot
Class TableInfoCopyTask
java.lang.Object
org.apache.hadoop.hbase.snapshot.SnapshotTask
org.apache.hadoop.hbase.snapshot.TableInfoCopyTask
- All Implemented Interfaces:
- Callable<Void>, ForeignExceptionSnare
@InterfaceAudience.Private
@InterfaceStability.Evolving
public class TableInfoCopyTask
- extends SnapshotTask
Copy the table info into the snapshot directory
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
TableInfoCopyTask
public TableInfoCopyTask(ForeignExceptionDispatcher monitor,
HBaseProtos.SnapshotDescription snapshot,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir)
- Copy the table info for the given table into the snapshot
- Parameters:
monitor
- listen for errors while running the snapshotsnapshot
- snapshot for which we are copying the table infofs
- FileSystem
where the tableinfo is stored (and where the copy will be written)rootDir
- root of the FileSystem
where the tableinfo is stored
call
public Void call()
throws Exception
- Throws:
Exception
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.