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

Hadoop QA commented on HDFS-2956:
---------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | patch |   0m  0s | The patch command could not apply 
the patch during dryrun. |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | 
http://issues.apache.org/jira/secure/attachment/12744434/HDFS-2956-02.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / 63d0365 |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/11644/console |


This message was automatically generated.

> 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
>              Labels: BB2015-05-TBR
>         Attachments: HDFS-2956-01.patch, HDFS-2956-02.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