فهرست منبع

HADOOP-536. Fix a bug with unit tests on Windows. Contributed by Mahadev.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@447600 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 19 سال پیش
والد
کامیت
175994a11a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/test/org/apache/hadoop/mapred/MRCaching.java

+ 1 - 1
src/test/org/apache/hadoop/mapred/MRCaching.java

@@ -65,7 +65,7 @@ public class MRCaching {
         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++) {