[
https://issues.apache.org/jira/browse/HDFS-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130857#comment-13130857
]
Daryn Sharp commented on HDFS-2473:
-----------------------------------
This also happens with file:/. Basically, anything that doesn't use tokens.
> Fetching tokens from insecure cluster throws NPEs
> -------------------------------------------------
>
> Key: HDFS-2473
> URL: https://issues.apache.org/jira/browse/HDFS-2473
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Affects Versions: 0.20.205.0
> Reporter: Daryn Sharp
> Priority: Critical
>
> Retrieving tokens from an insecure cluster throws an NPE. This prevents
> copies from insecure to secure clusters. The problem is in
> {{DFSClient.getDelegationToken()}}. It attempts to set the service and log
> the token w/o a null check.
> FetchDT will also throw exceptions when fetching tokens from an insecure
> cluster.
--
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