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

Daryn Sharp commented on HDFS-2473:
-----------------------------------

Tom White recently added some really neat token identifier decoding to make a 
stringified token display more info.  Please replace {{+ 
DelegationTokenIdentifier.stringifyToken(token)}} with {{+ token}} so we can 
take advantage of this feature.

                
> 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
>            Assignee: Jakob Homan
>            Priority: Critical
>         Attachments: HDFS-2473-1.0.2.patch, HDFS-2473-trunk.patch
>
>
> 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

        

Reply via email to