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

Queue mapping based on group id passed through application tag

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: scheduler
    • Labels:
      None
    • Target Version/s:
    • 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 the user's group.
      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 (based on the group id) instead of the Hive queue.

      For these cases, if they would pass the group id (or name) 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.  

       

        Attachments

        1. YARN-10179.001.patch
          17 kB
          Andras Gyori
        2. YARN-10179.002.patch
          18 kB
          Andras Gyori

          Issue Links

            Activity

              People

              • Assignee:
                gandras Andras Gyori
                Reporter:
                snemeth Szilard Nemeth
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: