[jira] [Commented] (YARN-2826) User-Group mappings not updated by RM when a user is removed from a group.

2014-11-08 Thread Hudson (JIRA)

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

Hudson commented on YARN-2826:
--

FAILURE: Integrated in Hadoop-Yarn-trunk #737 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/737/])
YARN-2826. Fixed user-groups mappings' refresh bug caused by YARN-2826. 
Contributed by Wangda Tan. (vinodkv: rev 
df36edf751202db00d8f43103d7120ec56d70a04)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java
* hadoop-yarn-project/CHANGES.txt


 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
 Fix For: 2.6.0

 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)


[jira] [Commented] (YARN-2826) User-Group mappings not updated by RM when a user is removed from a group.

2014-11-08 Thread Hudson (JIRA)

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

Hudson commented on YARN-2826:
--

FAILURE: Integrated in Hadoop-Hdfs-trunk #1927 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1927/])
YARN-2826. Fixed user-groups mappings' refresh bug caused by YARN-2826. 
Contributed by Wangda Tan. (vinodkv: rev 
df36edf751202db00d8f43103d7120ec56d70a04)
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java


 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
 Fix For: 2.6.0

 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)


[jira] [Commented] (YARN-2826) User-Group mappings not updated by RM when a user is removed from a group.

2014-11-08 Thread Hudson (JIRA)

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

Hudson commented on YARN-2826:
--

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1951 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1951/])
YARN-2826. Fixed user-groups mappings' refresh bug caused by YARN-2826. 
Contributed by Wangda Tan. (vinodkv: rev 
df36edf751202db00d8f43103d7120ec56d70a04)
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java
* hadoop-yarn-project/CHANGES.txt


 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
 Fix For: 2.6.0

 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)


[jira] [Commented] (YARN-2826) User-Group mappings not updated by RM when a user is removed from a group.

2014-11-07 Thread Vinod Kumar Vavilapalli (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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)


[jira] [Commented] (YARN-2826) User-Group mappings not updated by RM when a user is removed from a group.

2014-11-07 Thread Wangda Tan (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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)


[jira] [Commented] (YARN-2826) User-Group mappings not updated by RM when a user is removed from a group.

2014-11-07 Thread Vinod Kumar Vavilapalli (JIRA)

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

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

Thanks you, +1, checking this in.

 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)


[jira] [Commented] (YARN-2826) User-Group mappings not updated by RM when a user is removed from a group.

2014-11-07 Thread Hudson (JIRA)

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

Hudson commented on YARN-2826:
--

FAILURE: Integrated in Hadoop-trunk-Commit #6490 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/6490/])
YARN-2826. Fixed user-groups mappings' refresh bug caused by YARN-2826. 
Contributed by Wangda Tan. (vinodkv: rev 
df36edf751202db00d8f43103d7120ec56d70a04)
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java


 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
 Fix For: 2.6.0

 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)


[jira] [Commented] (YARN-2826) User-Group mappings not updated by RM when a user is removed from a group.

2014-11-06 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on YARN-2826:
-

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12680069/YARN-2826-1.patch
  against trunk revision ba0a42c.

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

{color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 2.0.3) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 core tests{color}.  The patch failed these unit tests in 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager:

  
org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart

{color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-YARN-Build/5770//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/5770//console

This message is automatically generated.

 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)


[jira] [Commented] (YARN-2826) User-Group mappings not updated by RM when a user is removed from a group.

2014-11-06 Thread Wangda Tan (JIRA)

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

Wangda Tan commented on YARN-2826:
--

Failed tests is tracked by https://issues.apache.org/jira/browse/YARN-2365, not 
related to 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)