[
https://issues.apache.org/jira/browse/YARN-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967483#comment-13967483
]
Hudson commented on YARN-1883:
------------------------------
SUCCESS: Integrated in Hadoop-Yarn-trunk #538 (See
[https://builds.apache.org/job/Hadoop-Yarn-trunk/538/])
YARN-1883. Merged into branch-2.4 also.
svn merge --ignore-ancestry -c 1582862 ../../trunk/ onto branch-2.4.
Fixed CHANGES.txt entries too. (vinodkv:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1586766)
* /hadoop/common/branches/branch-2.4/hadoop-yarn-project/CHANGES.txt
*
/hadoop/common/branches/branch-2.4/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMAdminService.java
* /hadoop/common/branches/branch-2/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
> TestRMAdminService fails due to inconsistent entries in UserGroups
> ------------------------------------------------------------------
>
> Key: YARN-1883
> URL: https://issues.apache.org/jira/browse/YARN-1883
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 3.0.0, 2.4.0
> Reporter: Mit Desai
> Assignee: Mit Desai
> Labels: java7
> Fix For: 2.4.1
>
> Attachments: YARN-1883.patch, YARN-1883.patch
>
>
> testRefreshUserToGroupsMappingsWithFileSystemBasedConfigurationProvider fails
> with the following error:
> {noformat}
> java.lang.AssertionError: null
> at org.junit.Assert.fail(Assert.java:92)
> at org.junit.Assert.assertTrue(Assert.java:43)
> at org.junit.Assert.assertTrue(Assert.java:54)
> at
> org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService.testRefreshUserToGroupsMappingsWithFileSystemBasedConfigurationProvider(TestRMAdminService.java:421)
> at
> org.apache.hadoop.yarn.server.resourcemanager.TestRMAdminService.testOrder(TestRMAdminService.java:104)
> {noformat}
> Line Numbers will be inconsistent as I was testing to run it in a particular
> order. But the Line on which the failure occurs is
> {code}
> Assert.assertTrue(groupBefore.contains("test_group_A")
> && groupBefore.contains("test_group_B")
> && groupBefore.contains("test_group_C") && groupBefore.size() == 3);
> {code}
> testRMInitialsWithFileSystemBasedConfigurationProvider() and
> testRefreshUserToGroupsMappingsWithFileSystemBasedConfigurationProvider()
> calls the function {{MockUnixGroupsMapping.updateGroups();}} which changes
> the list of userGroups.
> testRefreshUserToGroupsMappingsWithFileSystemBasedConfigurationProvider()
> tries to verify the groups before changing it and fails if
> testRMInitialsWithFileSystemBasedConfigurationProvider() already ran and made
> the changes.
--
This message was sent by Atlassian JIRA
(v6.2#6252)