git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1499902 13f79535-47bb-0310-9956-ffa450edef68
@@ -117,6 +117,9 @@ Release 1.2.1 - Unreleased
MAPREDUCE-5364. Deadlock between RenewalTimerTask methods cancel() and run().
(kkambatl via tucu)
+ MAPREDUCE-5375. Use short name for renewing delegation tokens. (Venkat
+ Ranganathan via acmurthy)
+
Release 1.2.0 - 2013.05.05
INCOMPATIBLE CHANGES
@@ -3874,7 +3874,7 @@ public class JobTracker implements MRConstants, InterTrackerProtocol,
throw new IOException(
"Delegation Token can be issued only with kerberos authentication");
}
- String user = UserGroupInformation.getCurrentUser().getUserName();
+ String user = UserGroupInformation.getCurrentUser().getShortUserName();
return secretManager.renewToken(token, user);