You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aa...@apache.org on 2016/07/08 21:41:47 UTC
hadoop git commit: HDFS-10336. TestBalancer failing intermittently
because of not reseting UserGroupInformation completely. Contributed by Yiqun
Lin.
Repository: hadoop
Updated Branches:
refs/heads/trunk ef30bf3c3 -> 932aed64d
HDFS-10336. TestBalancer failing intermittently because of not reseting UserGroupInformation completely. 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/932aed64
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/932aed64
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/932aed64
Branch: refs/heads/trunk
Commit: 932aed64d77edcc8483a95c1ce31a4c9ae679446
Parents: ef30bf3
Author: Akira Ajisaka <aa...@apache.org>
Authored: Fri Jul 8 14:39:11 2016 -0700
Committer: Akira Ajisaka <aa...@apache.org>
Committed: Fri Jul 8 14:39:11 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/932aed64/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 1cfd488..788f1e5 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
@@ -1956,6 +1956,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