hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r447600 - /lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/MRCaching.java
Date Mon, 18 Sep 2006 22:22:34 GMT
Author: cutting
Date: Mon Sep 18 15:22:31 2006
New Revision: 447600

URL: http://svn.apache.org/viewvc?view=rev&rev=447600
Log:
HADOOP-536.  Fix a bug with unit tests on Windows.  Contributed by Mahadev.

Modified:
    lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/MRCaching.java

Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/MRCaching.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/MRCaching.java?view=diff&rev=447600&r1=447599&r2=447600
==============================================================================
--- lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/MRCaching.java (original)
+++ lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/MRCaching.java Mon Sep 18 15:22:31
2006
@@ -65,7 +65,7 @@
         Path file = new Path("/tmp");
         fs.mkdirs(file);
         Path fileOut = new Path(file, "test.txt");
-        fs.delete(file);
+        fs.delete(fileOut);
         DataOutputStream out = fs.create(fileOut);
 
         for (int i = 0; i < localArchives.length; i++) {



Mime
View raw message