You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-commits@hadoop.apache.org by co...@apache.org on 2010/09/27 06:25:49 UTC

svn commit: r1001583 - in /hadoop/mapreduce/trunk: CHANGES.txt src/test/system/test/org/apache/hadoop/mapred/TestCluster.java

Author: cos
Date: Mon Sep 27 04:25:49 2010
New Revision: 1001583

URL: http://svn.apache.org/viewvc?rev=1001583&view=rev
Log:
MAPREDUCE-1984. herriot TestCluster fails because exclusion is not there. Contributed by Balaji Rajagopalan,

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/test/system/test/org/apache/hadoop/mapred/TestCluster.java

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=1001583&r1=1001582&r2=1001583&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Mon Sep 27 04:25:49 2010
@@ -1815,3 +1815,5 @@ Release 0.21.0 - Unreleased
 
     MAPREDUCE-1897. trunk build broken on compile-mapred-test (cos)
 
+    MAPREDUCE-1984. herriot TestCluster fails because exclusion is not there
+    (Balaji Rajagopalan via cos)

Modified: hadoop/mapreduce/trunk/src/test/system/test/org/apache/hadoop/mapred/TestCluster.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/test/system/test/org/apache/hadoop/mapred/TestCluster.java?rev=1001583&r1=1001582&r2=1001583&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/test/system/test/org/apache/hadoop/mapred/TestCluster.java (original)
+++ hadoop/mapreduce/trunk/src/test/system/test/org/apache/hadoop/mapred/TestCluster.java Mon Sep 27 04:25:49 2010
@@ -59,7 +59,11 @@ public class TestCluster {
 
   @BeforeClass
   public static void before() throws Exception {
+    String [] expExcludeList = new String[2];
+    expExcludeList[0] = "java.net.ConnectException";
+    expExcludeList[1] = "java.io.IOException";
     cluster = MRCluster.createCluster(new Configuration());
+    cluster.setExcludeExpList(expExcludeList);
     cluster.setUp();
   }