@InterfaceAudience.Private @InterfaceStability.Evolving public class TableInfoCopyTask extends SnapshotTask
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
errorMonitor, snapshot| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
Void |
call() |
getException, hasException, rethrowException, snapshotFailurepublic TableInfoCopyTask(ForeignExceptionDispatcher monitor, HBaseProtos.SnapshotDescription snapshot, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path rootDir)
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 storedCopyright © 2014 The Apache Software Foundation. All Rights Reserved.