hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Chiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6750) TestHSAdminServer.testRefreshSuperUserGroups is failing
Date Thu, 06 Oct 2016 16:57:20 GMT

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

Ray Chiang commented on MAPREDUCE-6750:
---------------------------------------

Just adding a note.  Before this fix, the test breaks with the following error:

java.lang.AssertionError: Unexpected exception thrown: org.apache.hadoop.security.authorize.AuthorizationException:
User: superuser is not allowed to impersonate regularUser expected null, but was:<org.apache.hadoop.security.authorize.AuthorizationException:
User: superuser is not allowed to impersonate regularUser>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotNull(Assert.java:664)
	at org.junit.Assert.assertNull(Assert.java:646)
	at org.apache.hadoop.mapreduce.v2.hs.server.TestHSAdminServer.testRefreshSuperUserGroups(TestHSAdminServer.java:236)


> TestHSAdminServer.testRefreshSuperUserGroups is failing
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-6750
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6750
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>            Reporter: Kihwal Lee
>            Assignee: Kihwal Lee
>            Priority: Minor
>             Fix For: 2.8.0, 3.0.0-alpha1
>
>         Attachments: MAPREDUCE-6750.patch
>
>
> HADOOP-13442 changed {{AccessControlList}} to call {{getGroups()}} instead of {{getGroupNames()}}.
It should work if the mocks are updated to stub the right method and return the right type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message