[ 
https://issues.apache.org/jira/browse/YARN-10179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17060730#comment-17060730
 ] 

Andras Gyori commented on YARN-10179:
-------------------------------------

Thank you, [~snemeth] for the references.
I have made an early version of the proposed changes, however there might be 
further questions about the requirements. As for now, the default behavior in 
case of an invalid tag/non-whitelisted tag is to fall back to the original 
source of mapping. Moreover, this approach only works if the user is a member 
of the group.

Might be interesting for [~lkovari], [~wilfreds]

> Queue mapping based on group id passed through application tag
> --------------------------------------------------------------
>
>                 Key: YARN-10179
>                 URL: https://issues.apache.org/jira/browse/YARN-10179
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: scheduler
>            Reporter: Szilard Nemeth
>            Assignee: Szilard Nemeth
>            Priority: Major
>             Fix For: 3.3.0
>
>         Attachments: YARN-10179.001.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 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.  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to