[jira] [Commented] (HDFS-3285) Null pointer execption at ClientNamenodeProtocolTranslatorPB while running fetchdt

2012-04-17 Thread Uma Maheswara Rao G (Commented) (JIRA)

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

Uma Maheswara Rao G commented on HDFS-3285:
---

Yep, seems like a duplicate. Brahma, could you please resolve it as duplicate?

> 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




[jira] [Commented] (HDFS-3285) Null pointer execption at ClientNamenodeProtocolTranslatorPB while running fetchdt

2012-04-17 Thread Todd Lipcon (Commented) (JIRA)

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

Todd Lipcon commented on HDFS-3285:
---

Dup of HDFS-2956?

> 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