HDFS-10336. TestBalancer failing intermittently because of not reseting UserGroupInformation completely. Contributed by Yiqun Lin.

(cherry picked from commit 932aed64d7)
(cherry picked from commit 0529da7239)
This commit is contained in:
Akira Ajisaka 2016-07-08 14:39:11 -07:00 committed by Zhe Zhang
parent b8b4ea67d8
commit f29d0739d7
1 changed files with 1 additions and 0 deletions

View File

@ -1870,6 +1870,7 @@ public class TestBalancer {
});
} finally {
// Reset UGI so that other tests are not affected.
UserGroupInformation.reset();
UserGroupInformation.setConfiguration(new Configuration());
}
}