XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 5.0.0b1
    • 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

        1. OOZIE-2909.amend.001.patch
          4 kB
          Andras Piros
        2. OOZIE-2909-001.patch
          18 kB
          Gézapeti
        3. OOZIE-2909-002.patch
          77 kB
          Gézapeti
        4. OOZIE-2909-003.patch
          77 kB
          Gézapeti
        5. OOZIE-2909-004.patch
          97 kB
          Gézapeti
        6. OOZIE-2909-005.patch
          100 kB
          Gézapeti
        7. OOZIE-2909-006.patch
          102 kB
          Gézapeti
        8. OOZIE-2909-007.patch
          102 kB
          Gézapeti
        9. OOZIE-2909-008.patch
          105 kB
          Gézapeti
        10. OOZIE-2909-009.patch
          104 kB
          Gézapeti
        11. OOZIE-2909-010.patch
          103 kB
          Gézapeti

        Issue Links

          Activity

            People

              andras.piros Andras Piros
              pbacsko Peter Bacsko
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: