You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/01 22:30:45 UTC

[jira] [Commented] (YARN-6261) YARN queue mapping fails for users with no group

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

ASF GitHub Bot commented on YARN-6261:
--------------------------------------

GitHub user pvillard31 opened a pull request:

    https://github.com/apache/hadoop/pull/198

    YARN-6261 - Catch user with no group when getting queue from mapping …

    …definition

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/pvillard31/hadoop YARN-6261

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hadoop/pull/198.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #198
    
----
commit 59f19be39e4fbf2b59151ac205d274b26716e478
Author: Pierre Villard <pi...@gmail.com>
Date:   2017-03-01T22:25:58Z

    YARN-6261 - Catch user with no group when getting queue from mapping definition

----


> YARN queue mapping fails for users with no group
> ------------------------------------------------
>
>                 Key: YARN-6261
>                 URL: https://issues.apache.org/jira/browse/YARN-6261
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Pierre Villard
>
> *Issue:* 
> Since Hadoop group mapping can be overridden (to get groups from an AD for example), it is possible to be in a situation where a user does not have any group (because the user is not in the AD but only defined locally):
> {noformat}
> $ hdfs groups zeppelin
> zeppelin:
> {noformat}
> In this case, if the YARN Queue Mapping is configured and contains at least one mapping of {{MappingType.GROUP}}, it won't be possible to get a queue for the job submitted by such a user and the job won't be submitted at all.
> *Expected result:* 
> In case a user does not have any group and no mapping is defined for this user, the default queue should be assigned whatever the queue mapping definition is.
> *Workaround:* 
> A workaround is to define a group mapping of {{MappingType.USER}} for the given user before defining any mapping of {{MappingType.GROUP}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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