[ 
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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to