YARN-2584. TestContainerManagerSecurity fails on trunk. (Contributed by Jian He)
(cherry picked from commit a9a55db0650b5e6b7d88afb883b88aba7a13cd44)