You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2017/03/01 22:20:45 UTC
[jira] [Created] (YARN-6261) YARN queue mapping fails for users
with no group
Pierre Villard created YARN-6261:
------------------------------------
Summary: 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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org