hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MAPREDUCE-4264) Got ClassCastException when using mapreduce.history.server.delegationtoken.required=true
Date Thu, 11 Oct 2012 17:50:09 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-4264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arun C Murthy closed MAPREDUCE-4264.
------------------------------------

    
> Got ClassCastException when using mapreduce.history.server.delegationtoken.required=true
> ----------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4264
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4264
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.3
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Blocker
>             Fix For: 0.23.3, 2.0.2-alpha
>
>         Attachments: MAPREDUCE-4264-branch-0.23.patch
>
>
> Oozie fails to run on branch-0.23 with the following exception. This only affects branch-0.23
not branch-2 or trunk. 
> 12/05/16 15:08:45 INFO mapreduce.JobSubmitter: Cleaning up the staging area /tmp/hadoop-yarn/staging/tgraves/.staging/job_1337177706246_0001java.lang.ClassCastException:
org.apache.hadoop.yarn.ipc.ProtoOverHadoopRpcEngine$Invoker cannot be cast to org.apache.hadoop.ipc.RpcInvocationHandler
       at org.apache.hadoop.ipc.RPC.getConnectionIdForProxy(RPC.java:330)        at org.apache.hadoop.ipc.RPC.getServerAddress(RPC.java:320)
       at org.apache.hadoop.mapreduce.v2.api.impl.pb.client.MRClientProtocolPBClientImpl.getConnectAddress(MRClientProtocolPBClientImpl.java:108)
       at org.apache.hadoop.mapred.YARNRunner.getDelegationTokenFromHS(YARNRunner.java:195)
       at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:272)        at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:385)
       at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1226)        at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1223)
       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:1177)
> Note that this is caused because oozie passes in the options:  -Dmapreduce.history.server.delegationtoken.required=true
-Dmapreduce.history.server.delegationtoken.renewer="mr token"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message