hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject [3/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:51 GMT
HDFS-11135. The tests in TestBalancer run fails due to NPE. Contributed By Yiqun Lin

(cherry picked from commit 6efb8c9c6018ec688eeba8c61c220009ec350a44)


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

Branch: refs/heads/branch-2.8
Commit: 4dc40fe28ee630d89372283a7020b7ccba428485
Parents: 3d52459
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:42:50 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/4dc40fe2/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 d89a3ed..8e9bd7b 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
@@ -252,9 +252,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