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

Hudson commented on MAPREDUCE-3392:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk #860 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/860/])
    MAPREDUCE-3392. Fixed Cluster's getDelegationToken's API to return null 
when there isn't a supported token. Contributed by John George.

vinodkv : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1200484
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Cluster.java
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/TestYarnClientProtocolProvider.java

                
> Cluster.getDelegationToken() throws NPE if client.getDelegationToken() 
> returns null.
> ------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3392
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3392
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3392-0.23.patch
>
>
> Caused by: java.lang.NullPointerException
>         at 
> org.apache.hadoop.mapreduce.Cluster.getDelegationToken(Cluster.java:399)
>         at 
> org.apache.hadoop.mapred.JobClient.getDelegationToken(JobClient.java:1074)
>         at
> org.apache.oozie.service.KerberosHadoopAccessorService.createJobClient(KerberosHadoopAccessorService.java:139)
>         at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.createJobClient(JavaActionExecutor.java:810)
>         at 
> org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:551)

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

        

Reply via email to