hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject [1/3] hadoop git commit: HDFS-11135. The tests in TestBalancer run fails due to NPE. Contributed By Yiqun Lin
Date Mon, 14 Nov 2016 15:13:49 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 ea74c7b7a -> 399abe7c7
  refs/heads/branch-2.8 3d5245971 -> 4dc40fe28
  refs/heads/trunk 79448d4ab -> 6efb8c9c6


HDFS-11135. The tests in TestBalancer run fails due to NPE. Contributed By Yiqun Lin


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

Branch: refs/heads/trunk
Commit: 6efb8c9c6018ec688eeba8c61c220009ec350a44
Parents: 79448d4
Author: Brahma Reddy Battula <brahma@apache.org>
Authored: Mon Nov 14 20:39:39 2016 +0530
Committer: Brahma Reddy Battula <brahma@apache.org>
Committed: Mon Nov 14 20:39:39 2016 +0530

----------------------------------------------------------------------
 .../org/apache/hadoop/hdfs/server/balancer/TestBalancer.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/6efb8c9c/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java
index d0997f1..22b48ad 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java
@@ -270,9 +270,9 @@ public class TestBalancer {
   public static void destroy() throws Exception {
     if (kdc != null) {
       kdc.stop();
-    }
-    FileUtil.fullyDelete(baseDir);
+      FileUtil.fullyDelete(baseDir);
       KeyStoreTestUtil.cleanupSSLConfig(keystoresDir, sslConfDir);
+    }
   }
 
   /* create a file with a length of <code>fileLen</code> */


---------------------------------------------------------------------
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