org.apache.hadoop.hbase.snapshot
Class TableInfoCopyTask

java.lang.Object
  extended by org.apache.hadoop.hbase.snapshot.SnapshotTask
      extended by 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
           
 
Fields inherited from class org.apache.hadoop.hbase.snapshot.SnapshotTask
errorMonitor, snapshot
 
Constructor Summary
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
 
Method Summary
 Void call()
           
 
Methods inherited from class org.apache.hadoop.hbase.snapshot.SnapshotTask
getException, hasException, rethrowException, snapshotFailure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

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 snapshot
snapshot - snapshot for which we are copying the table info
fs - FileSystem where the tableinfo is stored (and where the copy will be written)
rootDir - root of the FileSystem where the tableinfo is stored
Method Detail

call

public Void call()
          throws Exception
Throws:
Exception


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.