mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject svn commit: r1300196 - /mahout/trunk/core/src/test/java/org/apache/mahout/math/hadoop/TestDistributedRowMatrix.java
Date Tue, 13 Mar 2012 15:38:34 GMT
Author: tcp
Date: Tue Mar 13 15:38:33 2012
New Revision: 1300196

URL: http://svn.apache.org/viewvc?rev=1300196&view=rev
Log:
Attempt to fix test failure in TestDistributedRowMatrix

Modified:
    mahout/trunk/core/src/test/java/org/apache/mahout/math/hadoop/TestDistributedRowMatrix.java

Modified: mahout/trunk/core/src/test/java/org/apache/mahout/math/hadoop/TestDistributedRowMatrix.java
URL: http://svn.apache.org/viewvc/mahout/trunk/core/src/test/java/org/apache/mahout/math/hadoop/TestDistributedRowMatrix.java?rev=1300196&r1=1300195&r2=1300196&view=diff
==============================================================================
--- mahout/trunk/core/src/test/java/org/apache/mahout/math/hadoop/TestDistributedRowMatrix.java
(original)
+++ mahout/trunk/core/src/test/java/org/apache/mahout/math/hadoop/TestDistributedRowMatrix.java
Tue Mar 13 15:38:33 2012
@@ -79,7 +79,9 @@ public final class TestDistributedRowMat
 
     Path tmpPath = getTestTempDirPath();
     m.setOutputTempPathString(tmpPath.toString());
-    mt.setOutputTempPathString(new Path(tmpPath, "/tmpOutTranspose").toString());
+    Path tmpOutPath = new Path(tmpPath, "/tmpOutTranspose");
+    mt.setOutputTempPathString(tmpOutPath.toString());
+    HadoopUtil.delete(new Configuration(), tmpOutPath);
     DistributedRowMatrix mtt = mt.transpose();
     assertEquals(m, mtt, EPSILON);
   }



Mime
View raw message