protected static void |
TestExportSnapshot.testExportFileSystemState(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.TableName tableName,
byte[] snapshotName,
byte[] targetName,
int filesExpected,
org.apache.hadoop.fs.Path srcDir,
org.apache.hadoop.fs.Path rawTgtDir,
boolean overwrite,
boolean resetTtl,
TestExportSnapshot.RegionPredicate bypassregionPredicate,
boolean success)
Creates destination directory, runs ExportSnapshot() tool, and runs some verifications.
|
protected static Set<String> |
TestExportSnapshot.verifySnapshot(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.hbase.TableName tableName,
String snapshotName,
boolean resetTtl,
TestExportSnapshot.RegionPredicate bypassregionPredicate) |