hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John George (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3380) JobClient.getDelegationToken() returns NULL
Date Wed, 09 Nov 2011 20:41:53 GMT

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

John George commented on MAPREDUCE-3380:
----------------------------------------

Thanks for responding Ahmed. To me they are different because cluster.getDelegationToken()
should not throw NPE even if a 'client' does not implement getDelegationToken(). I have a
two line patch to fix the NPE, but would like to hear from other experts about implementing
the getDelegationToken() itself. 

                
> JobClient.getDelegationToken() returns NULL
> -------------------------------------------
>
>                 Key: MAPREDUCE-3380
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3380
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: mr-am
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Alejandro Abdelnur
>            Priority: Blocker
>             Fix For: 0.24.0, 0.23.1
>
>
> The JobClient.getDelegationToken() method is returning NULL, this makes Oozie fail when
trying to get the delegation token to use it for starting a job.
> What is seems to be happing is that Jobclient.getDelegationToken() calls Cluster.getDelegationToken()
that calls YarnRunner.getDelegationToken() that calls ResourceMgrDelegate.getDelegationToken().
And the last one is not implemented. (Thanks Ahmed for tracing this in MR2 code)

--
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

        

Mime
View raw message