hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r1542423 - /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportTsv.java
Date Fri, 15 Nov 2013 22:48:31 GMT
Author: enis
Date: Fri Nov 15 22:48:31 2013
New Revision: 1542423

URL: http://svn.apache.org/r1542423
Log:
HBASE-9908 [WINDOWS] Fix filesystem / classloader related unit tests - ADDENDUM patch to fix
TestImportTsv

Modified:
    hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportTsv.java

Modified: hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportTsv.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportTsv.java?rev=1542423&r1=1542422&r2=1542423&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportTsv.java
(original)
+++ hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportTsv.java
Fri Nov 15 22:48:31 2013
@@ -189,7 +189,7 @@ public class TestImportTsv implements Co
   @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 Co
     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[] {



Mime
View raw message