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 "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2019/12/23 00:56:00 UTC

[jira] [Resolved] (YARN-7012) yarn refuses application if a user has no groups associated

     [ https://issues.apache.org/jira/browse/YARN-7012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wilfred Spiegelenburg resolved YARN-7012.
-----------------------------------------
      Assignee: Wilfred Spiegelenburg
    Resolution: Not A Bug

The group mapping you configure should handle the local and non local users. A user must have at least a primary group, it is needed for ownership of files etc.
The exception you see shows that the user is not considered valid and this is supposed to happen.

> yarn refuses application if a user has no groups associated
> -----------------------------------------------------------
>
>                 Key: YARN-7012
>                 URL: https://issues.apache.org/jira/browse/YARN-7012
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.7.3
>         Environment: redhat 7.3
>            Reporter: Michael Salmon
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>
> When an application is submitted the list of queue mappings is searched for the default queue for the user submitting the application. If there is a queue mapping for a group and the user does not have any groups then an exception is thrown and the application is rejected:
> org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application application_1499325026025_0002 submitted by user hive reason: No groups found for user hive
> at UserGroupMappingPlacementRule.java:153 although the lookup is at line 122.
> This problem arises when using local users and AD groups.
> Users without groups should be treated as users with no matching groups



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

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