[
https://issues.apache.org/jira/browse/YARN-9886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16955920#comment-16955920
]
Kinga Marton edited comment on YARN-9886 at 10/21/19 1:58 PM:
--------------------------------------------------------------
As a conclusion of an offline discussion with [~sunilg] we have agreed on the
following:
* We will keep the username in the tag, but I will change the pattern to
{{u=<userid>}}
* I will add a configuration to enable/disable the application placement using
the application tag. This way we can keep the backward compatibility and avoid
any undesired side effects.
was (Author: kmarton):
As a conclusion of an offline discussion with [~sunilg] we have agreed on the
following:
* We will keep the username in the tag, but I will change the pattern to
{{u=<userid>}}
* I will add a configuration to enable/disable the application placement using
the application tag. This way we can keep the backport compatibility and avoid
any undesired side effects.
> Queue mapping based on userid passed through application tag
> ------------------------------------------------------------
>
> Key: YARN-9886
> URL: https://issues.apache.org/jira/browse/YARN-9886
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: scheduler
> Reporter: Kinga Marton
> Assignee: Kinga Marton
> Priority: Major
> Attachments: YARN-9886-WIP.patch
>
>
> 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 this applications to the real submitting user's
> queue instead of the Hive one.
> For this cases if they would pass the username in the application tag we may
> read it and use that one during the queue mapping, if that user has rights to
> run on the real user's queue.
> [~sunilg] please correct me if I missed something.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]