hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (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 Fri, 07 Nov 2014 16:49:34 GMT

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

Vinod Kumar Vavilapalli commented on YARN-2826:
-----------------------------------------------

Sigh, we keep breaking this.


The patch looks good. Can you report any manual testing done?

> 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