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: name-node
    Affects Versions: 2.0.0
            Reporter: Brahma Reddy Battula
            Priority: Minor
             Fix For: 2.0.0, 3.0.0


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