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

Hudson commented on HDFS-2956:
------------------------------

SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #250 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/250/])
HDFS-2956. calling fetchdt without a --renewer argument throws NPE (Contributed 
by Vinayakumar B)HDFS-2956. calling fetchdt without a --renewer argument throws 
NPE (Contributed by Vinayakumar B) (vinayakumarb: rev 
b48908033fcac7a4bd4313c1fd1457999fba08e1)
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/ClientNamenodeProtocolTranslatorPB.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/TestDelegationTokenFetcher.java


> calling fetchdt without a --renewer argument throws NPE
> -------------------------------------------------------
>
>                 Key: HDFS-2956
>                 URL: https://issues.apache.org/jira/browse/HDFS-2956
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Todd Lipcon
>            Assignee: Vinayakumar B
>             Fix For: 2.8.0
>
>         Attachments: HDFS-2956-01.patch, HDFS-2956-02.patch, 
> HDFS-2956-04.patch, HDFS-2956.03.patch, HDFS-2956.branch-2.03.patch, 
> HDFS-2956.patch
>
>
> If I call "bin/hdfs fetchdt /tmp/mytoken" without a "--renewer foo" argument, 
> then it will throw a NullPointerException:
> Exception in thread "main" java.lang.NullPointerException
>         at 
> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getDelegationToken(ClientNamenodeProtocolTranslatorPB.java:830)
> this is because getDelegationToken is being called with a null renewer



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

Reply via email to