HBASE-24131 : TestExportSnapshot.testExportFileSystemState() changes with correct arg (ADDENDUM)
This commit is contained in:
parent
eb7df0498c
commit
2907260204
|
@ -26,7 +26,6 @@ import org.apache.hadoop.hbase.TableName;
|
||||||
import org.apache.hadoop.hbase.client.Admin;
|
import org.apache.hadoop.hbase.client.Admin;
|
||||||
import org.apache.hadoop.hbase.testclassification.LargeTests;
|
import org.apache.hadoop.hbase.testclassification.LargeTests;
|
||||||
import org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests;
|
import org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests;
|
||||||
import org.apache.hadoop.hbase.util.Bytes;
|
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.AfterClass;
|
import org.junit.AfterClass;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
@ -120,9 +119,8 @@ public class TestExportSnapshotAdjunct {
|
||||||
conf.setInt(ExportSnapshot.Testing.CONF_TEST_FAILURE_COUNT, 2);
|
conf.setInt(ExportSnapshot.Testing.CONF_TEST_FAILURE_COUNT, 2);
|
||||||
conf.setInt("mapreduce.map.maxattempts", 3);
|
conf.setInt("mapreduce.map.maxattempts", 3);
|
||||||
TestExportSnapshot.testExportFileSystemState(conf, tableName,
|
TestExportSnapshot.testExportFileSystemState(conf, tableName,
|
||||||
Bytes.toBytes(snapshotName), Bytes.toBytes(snapshotName),
|
snapshotName, snapshotName, tableNumFiles, TEST_UTIL.getDefaultRootDirPath(),
|
||||||
tableNumFiles, TEST_UTIL.getDefaultRootDirPath(), copyDir, true,
|
copyDir, true, null, true);
|
||||||
null, true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -138,7 +136,7 @@ public class TestExportSnapshotAdjunct {
|
||||||
conf.setInt(ExportSnapshot.Testing.CONF_TEST_FAILURE_COUNT, 4);
|
conf.setInt(ExportSnapshot.Testing.CONF_TEST_FAILURE_COUNT, 4);
|
||||||
conf.setInt("mapreduce.map.maxattempts", 3);
|
conf.setInt("mapreduce.map.maxattempts", 3);
|
||||||
TestExportSnapshot.testExportFileSystemState(conf, tableName,
|
TestExportSnapshot.testExportFileSystemState(conf, tableName,
|
||||||
Bytes.toBytes(snapshotName), Bytes.toBytes(snapshotName),
|
snapshotName, snapshotName, tableNumFiles, TEST_UTIL.getDefaultRootDirPath(),
|
||||||
tableNumFiles, TEST_UTIL.getDefaultRootDirPath(), copyDir, true, null, false);
|
copyDir, true, null, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue