hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077645 - /hadoop/common/branches/branch-0.20-security-patches/src/test/system/java/org/apache/hadoop/mapred/TestDistributedCacheModifiedFile.java
Date Fri, 04 Mar 2011 04:39:50 GMT
Author: omalley
Date: Fri Mar  4 04:39:50 2011
New Revision: 1077645

URL: http://svn.apache.org/viewvc?rev=1077645&view=rev
Log:
commit 8f5862bfbb1de5c995f7f84a178634d8b529df13
Author: Iyappan Srinivasan <iyappans@yahoo-inc.com>
Date:   Fri Aug 6 14:10:17 2010 +0000

    MAPREDUCE-1676 https://issues.apache.org/jira/secure/attachment/12451427/1676-ydist-security-patch.txt

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/test/system/java/org/apache/hadoop/mapred/TestDistributedCacheModifiedFile.java

Modified: hadoop/common/branches/branch-0.20-security-patches/src/test/system/java/org/apache/hadoop/mapred/TestDistributedCacheModifiedFile.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/test/system/java/org/apache/hadoop/mapred/TestDistributedCacheModifiedFile.java?rev=1077645&r1=1077644&r2=1077645&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/test/system/java/org/apache/hadoop/mapred/TestDistributedCacheModifiedFile.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/test/system/java/org/apache/hadoop/mapred/TestDistributedCacheModifiedFile.java
Fri Mar  4 04:39:50 2011
@@ -88,6 +88,10 @@ public class TestDistributedCacheModifie
   @BeforeClass
   public static void setUp() throws Exception {
     cluster = MRCluster.createCluster(new Configuration());
+    String [] expExcludeList = {"java.net.ConnectException",
+        "java.io.IOException","org.apache.hadoop.metrics2.MetricsException"};
+    cluster.setExcludeExpList(expExcludeList);
+
     cluster.setUp();
     client = cluster.getJTClient().getClient();
     dfs = client.getFs();
@@ -111,7 +115,6 @@ public class TestDistributedCacheModifie
 
   @AfterClass
   public static void tearDown() throws Exception {
-    cluster.tearDown();
     dfs.delete(URIPATH, true);
     
     Collection<TTClient> tts = cluster.getTTClients();
@@ -125,6 +128,7 @@ public class TestDistributedCacheModifie
       tt.start();
       tt.waitForTTStart();
     }
+    cluster.tearDown();
   }
 
   @Test



Mime
View raw message