hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yhema...@apache.org
Subject svn commit: r1044197 - in /hadoop/mapreduce/trunk: CHANGES.txt src/contrib/index/src/test/org/apache/hadoop/contrib/index/mapred/TestIndexUpdater.java
Date Fri, 10 Dec 2010 02:11:32 GMT
Author: yhemanth
Date: Fri Dec 10 02:11:32 2010
New Revision: 1044197

URL: http://svn.apache.org/viewvc?rev=1044197&view=rev
Log:
MAPREDUCE-1334. Fix TestIndexUpdater by ignoring _SUCCESS file in HDFS. Contributed by Kay
Kay.

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/contrib/index/src/test/org/apache/hadoop/contrib/index/mapred/TestIndexUpdater.java

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=1044197&r1=1044196&r2=1044197&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Fri Dec 10 02:11:32 2010
@@ -30,6 +30,9 @@ Trunk (unreleased changes)
     MAPREDUCE-2155. RaidNode should optionally use the mapreduce jobs to 
     fix missing blocks.  (Patrick Kling via dhruba)
 
+    MAPREDUCE-1334. Fix TestIndexUpdater by ignoring _SUCCESS file in HDFS.
+    (Kay Kay via yhemanth)
+
 Release 0.22.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/mapreduce/trunk/src/contrib/index/src/test/org/apache/hadoop/contrib/index/mapred/TestIndexUpdater.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/contrib/index/src/test/org/apache/hadoop/contrib/index/mapred/TestIndexUpdater.java?rev=1044197&r1=1044196&r2=1044197&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/contrib/index/src/test/org/apache/hadoop/contrib/index/mapred/TestIndexUpdater.java
(original)
+++ hadoop/mapreduce/trunk/src/contrib/index/src/test/org/apache/hadoop/contrib/index/mapred/TestIndexUpdater.java
Fri Dec 10 02:11:32 2010
@@ -78,6 +78,8 @@ public class TestIndexUpdater extends Te
       System.setProperty("hadoop.log.dir", new Path(base).toString() + "/logs");
     }
     conf = new Configuration();
+    //See MAPREDUCE-947 for more details. Setting to false prevents the creation of _SUCCESS.
+    conf.setBoolean("mapreduce.fileoutputcommitter.marksuccessfuljobs", false);
   }
 
   protected void setUp() throws Exception {



Mime
View raw message