hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject [2/3] hadoop git commit: HDFS-10336. TestBalancer failing intermittently because of not reseting UserGroupInformation completely. Contributed by Yiqun Lin.
Date Thu, 11 Aug 2016 23:47:21 GMT
HDFS-10336. TestBalancer failing intermittently because of not reseting UserGroupInformation
completely. Contributed by Yiqun Lin.

(cherry picked from commit 932aed64d77edcc8483a95c1ce31a4c9ae679446)
(cherry picked from commit 0529da723966e03c7dfa8201a515320c904d32a7)
(cherry picked from commit f29d0739d782516079e04ca4d57f268f6d1672f4)


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

Branch: refs/heads/branch-2.7
Commit: 1038e6b476ffafe15cc48c7f18f5a5a834650212
Parents: 7f78740
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Fri Jul 8 14:39:11 2016 -0700
Committer: Zhe Zhang <zhz@apache.org>
Committed: Thu Aug 11 16:21:35 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/1038e6b4/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 420c783..5ddda0b 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
@@ -1572,6 +1572,7 @@ public class TestBalancer {
       });
     } finally {
       // Reset UGI so that other tests are not affected.
+      UserGroupInformation.reset();
       UserGroupInformation.setConfiguration(new Configuration());
     }
   }


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