Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9886

Queue mapping based on userid passed through application tag

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: scheduler
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      There are situations when the real submitting user differs from the user what arrives to YARN. For example in case of a Hive application when Hive impersonation is turned off, the hive queries will run as Hive user and the mapping is done based on this username. Unfortunately in this case YARN doesn't have any information about the real user and there are cases when the customer may want to map these applications to the real submitting user's queue instead of the Hive queue.

      For these cases, if they would pass the username in the application tag we may read it and use it during the queue mapping, if that user has rights to run on the real user's queue.  

      Sunil G please correct me if I missed something.

       

        Attachments

        1. YARN-9886-WIP.patch
          3 kB
          Kinga Marton
        2. YARN-9886.001.patch
          16 kB
          Kinga Marton
        3. YARN-9886.002.patch
          17 kB
          Kinga Marton
        4. YARN-9886.003.patch
          17 kB
          Kinga Marton
        5. YARN-9886.004.patch
          20 kB
          Kinga Marton

          Issue Links

            Activity

              People

              • Assignee:
                kmarton Kinga Marton
                Reporter:
                kmarton Kinga Marton
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: