You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Mit Desai (JIRA)" <ji...@apache.org> on 2014/03/14 16:04:42 UTC
[jira] [Created] (YARN-1833) TestRMAdminService Fails in branch-2
Mit Desai created YARN-1833:
-------------------------------
Summary: TestRMAdminService Fails in branch-2
Key: YARN-1833
URL: https://issues.apache.org/jira/browse/YARN-1833
Project: Hadoop YARN
Issue Type: Bug
Affects Versions: 2.4.0
Reporter: Mit Desai
Assignee: Mit Desai
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
(v6.2#6252)