Details
-
Sub-task
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
There are two problems in LauncherAM:
1) In a kerberized cluster, we have to use UGI.getLoginUser() even though a call to createRemoteUser() should be enough, just like in MRAppMaster.java. Reference code:
https://github.com/apache/hadoop/blob/3ed3062fe3979ff55a411b730a8eee2b2c96d6b3/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/MRAppMaster.java#L1718-L1726
2) It's enough if we wrap the whole LauncherAM logic in a single doAs() call. No need for multiple doAs(), just makes the whole thing more complicated.
Attachments
Attachments
Issue Links
- is duplicated by
-
OOZIE-2971 Print out current tokens in LauncherAM
- Resolved
- links to