protected Set<String> verifySnapshot(final FileSystem fs, final Path rootDir, final TableName tableName, final String snapshotName) throws IOException { return verifySnapshot(TEST_UTIL.getConfiguration(), fs, rootDir, tableName, snapshotName, getBypassRegionPredicate()); }
verifySnapshotDir(hdfs, new Path(sourceDir, snapshotDir), fs, new Path(copyDir, targetDir)); Set<String> snapshotFiles = verifySnapshot(conf, fs, copyDir, tableName, Bytes.toString(targetName), bypassregionPredicate); assertEquals(filesExpected, snapshotFiles.size());
verifySnapshotDir(hdfs, new Path(sourceDir, snapshotDir), fs, new Path(copyDir, targetDir)); Set<String> snapshotFiles = verifySnapshot(conf, fs, copyDir, tableName, Bytes.toString(targetName), bypassregionPredicate); assertEquals(filesExpected, snapshotFiles.size());
protected Set<String> verifySnapshot(final FileSystem fs, final Path rootDir, final TableName tableName, final String snapshotName) throws IOException { return verifySnapshot(TEST_UTIL.getConfiguration(), fs, rootDir, tableName, snapshotName, getBypassRegionPredicate()); }
verifySnapshotDir(hdfs, new Path(sourceDir, snapshotDir), fs, new Path(copyDir, targetDir)); Set<String> snapshotFiles = verifySnapshot(conf, fs, copyDir, tableName, Bytes.toString(targetName), bypassregionPredicate); assertEquals(filesExpected, snapshotFiles.size());
protected Set<String> verifySnapshot(final FileSystem fs, final Path rootDir, final TableName tableName, final String snapshotName) throws IOException { return verifySnapshot(TEST_UTIL.getConfiguration(), fs, rootDir, tableName, snapshotName, getBypassRegionPredicate()); }