From b98a8d259bcfb1c221405c538561b05063db3a75 Mon Sep 17 00:00:00 2001 From: wangzhaohui <32935220+wzhallright@users.noreply.github.com> Date: Fri, 6 Aug 2021 18:23:00 +0800 Subject: [PATCH] HDFS-16154. TestMiniJournalCluster failing intermittently because of not reseting UserGroupInformation completely (#3270) Co-authored-by: wangzhaohui8 Reviewed-by: Viraj Jasani (cherry picked from commit e85c44657c4d1368e1195132bb32a815cb12934c) (cherry picked from commit 7068e18842117f33b5caceee244e8b27618c121a) --- .../org/apache/hadoop/hdfs/qjournal/TestSecureNNWithQJM.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/TestSecureNNWithQJM.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/TestSecureNNWithQJM.java index 8e8bb22229a..c66866c08e2 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/TestSecureNNWithQJM.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/TestSecureNNWithQJM.java @@ -146,6 +146,7 @@ public class TestSecureNNWithQJM { } FileUtil.fullyDelete(baseDir); KeyStoreTestUtil.cleanupSSLConfig(keystoresDir, sslConfDir); + UserGroupInformation.reset(); } @Before