hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2826) User-Group mappings not updated by RM when a user is removed from a group.
Date Sat, 08 Nov 2014 02:52:33 GMT

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

Wangda Tan commented on YARN-2826:
----------------------------------

Verified this patch will not break what we have resolved in YARN-2795, in HA+security cluster,
RMs can still start/stop successfully.
And also verified user-group mapping can get updated in cluster with this patch.

> User-Group mappings not updated by RM when a user is removed from a group.
> --------------------------------------------------------------------------
>
>                 Key: YARN-2826
>                 URL: https://issues.apache.org/jira/browse/YARN-2826
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: sidharta seethana
>            Assignee: Wangda Tan
>            Priority: Critical
>         Attachments: YARN-2826-1.patch
>
>
> Removing a user from a group isn't reflected in getGroups even after a refresh. The following
sequence fails in step 7. 
> 1) add test_user to a machine with group1 
> 2) add test_user to group2 on the machine 
> 3) yarn rmadmin -refreshUserToGroupsMappings (expected to refresh user to group mappings)

> 4) yarn rmadmin -getGroups test_user (and ensure that user is in group2) 
> 5) remove user from group2 on the machine 
> 6) yarn rmadmin -refreshUserToGroupsMappings (expected to refresh user to group mappings)

> 7) yarn rmadmin -getGroups test_user (and ensure that user NOT in group2) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message