HBASE-9908 [WINDOWS] Fix filesystem / classloader related unit tests - ADDENDUM patch to fix TestImportTsv

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542422 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Enis Soztutar 2013-11-15 22:46:58 +00:00
parent 2859897de6
commit 16b799dae5
1 changed files with 3 additions and 3 deletions

View File

@ -189,7 +189,7 @@ public class TestImportTsv implements Configurable {
@Test
public void testJobConfigurationsWithTsvImporterTextMapper() throws Exception {
String table = "test-" + UUID.randomUUID();
Path bulkOutputPath = new Path(util.getDataTestDir(table),"hfiles");
Path bulkOutputPath = new Path(util.getDataTestDirOnTestFS(table),"hfiles");
String INPUT_FILE = "InputFile1.csv";
// Prepare the arguments required for the test.
String[] args =
@ -209,12 +209,12 @@ public class TestImportTsv implements Configurable {
assertTrue(job.getReducerClass().equals(TextSortReducer.class));
assertTrue(job.getMapOutputValueClass().equals(Text.class));
}
@Test
public void testBulkOutputWithTsvImporterTextMapper() throws Exception {
String table = "test-" + UUID.randomUUID();
String FAMILY = "FAM";
Path bulkOutputPath = new Path(util.getDataTestDir(table),"hfiles");
Path bulkOutputPath = new Path(util.getDataTestDirOnTestFS(table),"hfiles");
// Prepare the arguments required for the test.
String[] args =
new String[] {