HDFS-10336. TestBalancer failing intermittently because of not reseting UserGroupInformation completely. Contributed by Yiqun Lin.
(cherry picked from commit 932aed64d7
)
This commit is contained in:
parent
7d402692b4
commit
0529da7239
|
@ -1870,6 +1870,7 @@ public class TestBalancer {
|
||||||
});
|
});
|
||||||
} finally {
|
} finally {
|
||||||
// Reset UGI so that other tests are not affected.
|
// Reset UGI so that other tests are not affected.
|
||||||
|
UserGroupInformation.reset();
|
||||||
UserGroupInformation.setConfiguration(new Configuration());
|
UserGroupInformation.setConfiguration(new Configuration());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue