Instead of calling UserGroupInformation.getCurrentUser() over and over, we should just use the stored daemonUser.
Trivial change, +1. Unfortunately though, the patch does not apply any more.
Daniel Templeton - mind revving it and submitting patch for Jenkins run?
+1, checking this in..
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10738 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10738/)
YARN-4998. Minor cleanup to UGI use in AdminService. (Daniel Templeton (kasha: rev 733aa993134ba324c712590fa92b8ef230b0839a)