hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cli...@apache.org
Subject hadoop git commit: Revert "HDFS-12185. Ozone: Fix Leaking in TestXceiverClientManager. Contributed by Xiaoyu Yao"
Date Fri, 21 Jul 2017 21:25:17 GMT
Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 4ddae60c8 -> c081e831d


Revert "HDFS-12185. Ozone: Fix Leaking in TestXceiverClientManager. Contributed by Xiaoyu
Yao"

This reverts commit f801454ad320e0d9c544c4249456bcaf50b4f30b.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/c081e831
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c081e831
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c081e831

Branch: refs/heads/HDFS-7240
Commit: c081e831d7bf05740a505c293a607b10706029ed
Parents: 4ddae60
Author: Chen Liang <cliang@apache.org>
Authored: Fri Jul 21 14:18:41 2017 -0700
Committer: Chen Liang <cliang@apache.org>
Committed: Fri Jul 21 14:21:52 2017 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/ozone/scm/TestXceiverClientManager.java | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c081e831/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/TestXceiverClientManager.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/TestXceiverClientManager.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/TestXceiverClientManager.java
index 4a43d72..08c6f0c 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/TestXceiverClientManager.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/TestXceiverClientManager.java
@@ -19,7 +19,6 @@ package org.apache.hadoop.ozone.scm;
 
 import com.google.common.cache.Cache;
 import org.apache.commons.lang.RandomStringUtils;
-import org.apache.hadoop.io.IOUtils;
 import org.apache.hadoop.ozone.MiniOzoneCluster;
 import org.apache.hadoop.ozone.OzoneConfiguration;
 import org.apache.hadoop.ozone.OzoneConsts;
@@ -30,7 +29,6 @@ import org.apache.hadoop.scm.protocolPB
     .StorageContainerLocationProtocolClientSideTranslatorPB;
 import org.apache.hadoop.scm.storage.ContainerProtocolCalls;
 import org.junit.Assert;
-import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.junit.Rule;
 import org.junit.Test;
@@ -63,11 +61,6 @@ public class TestXceiverClientManager {
         .createStorageContainerLocationClient();
   }
 
-  @AfterClass
-  public static void shutdown() {
-    IOUtils.cleanup(null, cluster, storageContainerLocationClient);
-  }
-
   @Test
   public void testCaching() throws IOException {
     OzoneConfiguration conf = new OzoneConfiguration();


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message