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

Allen Wittenauer updated HDFS-3285:
-----------------------------------
    Fix Version/s:     (was: 3.0.0)
                       (was: 2.0.0-alpha)

> Null pointer execption at ClientNamenodeProtocolTranslatorPB while running 
> fetchdt 
> -----------------------------------------------------------------------------------
>
>                 Key: HDFS-3285
>                 URL: https://issues.apache.org/jira/browse/HDFS-3285
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.0.0-alpha
>            Reporter: Brahma Reddy Battula
>            Priority: Minor
>
> Scenario:
> ============
> Run following command
> ./hdfs fetchdt http://******:50070 then I am getting following nullpointer 
> execption
> {noformat}
> Exception in thread "main" java.lang.NullPointerException
>       at 
> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getDelegationToken(ClientNamenodeProtocolTranslatorPB.java:771)
>       at 
> org.apache.hadoop.hdfs.DFSClient.getDelegationToken(DFSClient.java:650)
>       at 
> org.apache.hadoop.hdfs.DistributedFileSystem.getDelegationToken(DistributedFileSystem.java:766)
>       at 
> org.apache.hadoop.hdfs.tools.DelegationTokenFetcher$1.run(DelegationTokenFetcher.java:191)
>       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:1205)
>       at 
> org.apache.hadoop.hdfs.tools.DelegationTokenFetcher.main(DelegationTokenFetcher.java:144)
> {noformat}



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

Reply via email to