You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Kihwal Lee (Commented) (JIRA)" <ji...@apache.org> on 2012/04/03 17:00:25 UTC

[jira] [Commented] (MAPREDUCE-4041) TestMapredGroupMappingServiceRefresh unit test failures

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

Kihwal Lee commented on MAPREDUCE-4041:
---------------------------------------

The following is the exception that is occurring. It happens whenever the test tries to run MRAdmin to refresh. 

{noformat}
2012-04-03 04:29:59,604 INFO  [IPC Server handler 3 on 43005] ipc.Server (Server.java:run(1680))
 - IPC Server handler 3 on 43005, call refreshUserToGroupsMappings(), rpc version=2, client version=1,
 methodsFingerPrint=-876529506 from 127.0.0.1:50564: error: java.io.IOException: java.io.IOException:
 Unknown protocol: org.apache.hadoop.security.RefreshUserMappingsProtocol
java.io.IOException: java.io.IOException: Unknown protocol: org.apache.hadoop.security.RefreshUserMappingsProtocol
	at org.apache.hadoop.ipc.WritableRpcEngine$Server$WritableRpcInvoker.call(WritableRpcEngine.java:477)
	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:891)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1661)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1657)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:396)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1205)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1655)
{noformat}


And the the JT's RPC server sorts things out on start-up.

{noformat}
2012-04-03 04:29:58,581 INFO  [Thread-56] mapred.JobTracker (JobTracker.java:<init>(1481)) - Starting jobtracker with owner as xxxxxx
2012-04-03 04:29:58,588 INFO  [Socket Reader #1 for port 43005] ipc.Server (Server.java:run(456)) - Starting Socket Reader #1 for port 43005
2012-04-03 04:29:58,589 WARN  [Thread-56] ipc.RPC (RPC.java:getSuperInterfaces(109)) - Interface interface org.apache.hadoop.mapred.MRConstants ignored because it does not extend VersionedProtocol
2012-04-03 04:29:58,589 WARN  [Thread-56] ipc.RPC (RPC.java:getSuperInterfaces(109)) - Interface interface org.apache.hadoop.mapred.TaskTrackerManager ignored because it does not extend VersionedProtocol
2012-04-03 04:29:58,589 WARN  [Thread-56] ipc.RPC (RPC.java:getSuperInterfaces(109)) - Interface interface org.apache.hadoop.security.RefreshUserMappingsProtocol ignored because it does not extend VersionedProtocol
2012-04-03 04:29:58,589 WARN  [Thread-56] ipc.RPC (RPC.java:getSuperInterfaces(109)) - Interface interface org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol ignored because it does not extend VersionedProtocol
2012-04-03 04:29:58,589 WARN  [Thread-56] ipc.RPC (RPC.java:getSuperInterfaces(109)) - Interface interface org.apache.hadoop.tools.GetUserMappingsProtocol ignored because it does not extend VersionedProtocol
2012-04-03 04:29:58,589 WARN  [Thread-56] ipc.RPC (RPC.java:getSuperInterfaces(109)) - Interface interface org.apache.hadoop.mapreduce.server.jobtracker.JTConfig ignored because it does not extend VersionedProtocol
{noformat}

                
> TestMapredGroupMappingServiceRefresh unit test failures
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4041
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4041
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.3
>            Reporter: Thomas Graves
>
> On branch-0.23 the following unit tests fail:
> >>> org.apache.hadoop.security.TestMapredGroupMappingServiceRefresh.testGroupMappingRefresh 	
> >>> org.apache.hadoop.security.TestMapredGroupMappingServiceRefresh.testRefreshSuperUserGroupsConfiguration 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira