Skip to content

Commit a383354

Browse files
virajjasanithangTang
authored andcommitted
HBASE-24131 : TestExportSnapshot.testExportFileSystemState() changes with correct arg (ADDENDUM)
1 parent 78e7df2 commit a383354

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshotAdjunct.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import org.apache.hadoop.hbase.client.Admin;
2727
import org.apache.hadoop.hbase.testclassification.LargeTests;
2828
import org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests;
29-
import org.apache.hadoop.hbase.util.Bytes;
3029
import org.junit.After;
3130
import org.junit.AfterClass;
3231
import org.junit.Before;
@@ -120,9 +119,8 @@ public void testExportRetry() throws Exception {
120119
conf.setInt(ExportSnapshot.Testing.CONF_TEST_FAILURE_COUNT, 2);
121120
conf.setInt("mapreduce.map.maxattempts", 3);
122121
TestExportSnapshot.testExportFileSystemState(conf, tableName,
123-
Bytes.toBytes(snapshotName), Bytes.toBytes(snapshotName),
124-
tableNumFiles, TEST_UTIL.getDefaultRootDirPath(), copyDir, true,
125-
null, true);
122+
snapshotName, snapshotName, tableNumFiles, TEST_UTIL.getDefaultRootDirPath(),
123+
copyDir, true, null, true);
126124
}
127125

128126
/**
@@ -138,7 +136,7 @@ public void testExportFailure() throws Exception {
138136
conf.setInt(ExportSnapshot.Testing.CONF_TEST_FAILURE_COUNT, 4);
139137
conf.setInt("mapreduce.map.maxattempts", 3);
140138
TestExportSnapshot.testExportFileSystemState(conf, tableName,
141-
Bytes.toBytes(snapshotName), Bytes.toBytes(snapshotName),
142-
tableNumFiles, TEST_UTIL.getDefaultRootDirPath(), copyDir, true, null, false);
139+
snapshotName, snapshotName, tableNumFiles, TEST_UTIL.getDefaultRootDirPath(),
140+
copyDir, true, null, false);
143141
}
144142
}

0 commit comments

Comments
 (0)