hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1833) TestRMAdminService Fails in trunk and branch-2
Date Fri, 14 Mar 2014 22:06:43 GMT

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

Hudson commented on YARN-1833:

SUCCESS: Integrated in Hadoop-trunk-Commit #5333 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/5333/])
YARN-1833. TestRMAdminService Fails in trunk and branch-2 (Mit Desais via jeagles) (jeagles:
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMAdminService.java

> TestRMAdminService Fails in trunk and branch-2
> ----------------------------------------------
>                 Key: YARN-1833
>                 URL: https://issues.apache.org/jira/browse/YARN-1833
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Mit Desai
>            Assignee: Mit Desai
>              Labels: Test
>         Attachments: YARN-1833-v2.patch, YARN-1833.patch
> In the test testRefreshUserToGroupsMappingsWithFileSystemBasedConfigurationProvider,
the following assert is not needed.
> {code}
> Assert.assertTrue(groupWithInit.size() != groupBefore.size());
> {code}
> As the assert takes the default groups for groupWithInit (which in my case are users,
sshusers and wheel), it fails as the size of both groupWithInit and groupBefore are same.
> I do not think we need to have this assert here. Moreover we are also checking that the
groupInit does not have the userGroups that are in the groupBefore so removing the assert
may not be harmful.

This message was sent by Atlassian JIRA

View raw message