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 18:35:19 GMT
HDFS-10336. TestBalancer failing intermittently because of not reseting UserGroupInformation
completely. Contributed by Yiqun Lin.

(cherry picked from commit 932aed64d77edcc8483a95c1ce31a4c9ae679446)


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

Branch: refs/heads/branch-2
Commit: 0529da723966e03c7dfa8201a515320c904d32a7
Parents: 7d40269
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 10:55:53 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/0529da72/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 3c67b20..b1a80d0 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
@@ -1870,6 +1870,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