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

Chris Nauroth commented on HDFS-9732:
-------------------------------------

The {{hdfs fetchdt}} command depends on the current output format of 
{{DelegationTokenIdentifier#toString}}.  Unfortunately, that means the simple 
way to make this change also would be backwards-incompatible.

We'll either need to target the change to 3.x, or look at breaking the 
dependency of {{hdfs fetchdt}} so that it maintains its current output, but 
{{toString}} can still add more detail for things like logging.

HDFS-9085 is a patch that changed this code recently.  The decision on that one 
was to go to trunk only.

> Remove DelegationTokenIdentifier.toString() —for better logging output
> ----------------------------------------------------------------------
>
>                 Key: HDFS-9732
>                 URL: https://issues.apache.org/jira/browse/HDFS-9732
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.7.2
>            Reporter: Steve Loughran
>         Attachments: HADOOP-12752-001.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> HDFS {{DelegationTokenIdentifier.toString()}} adds some diagnostics info, 
> owner, sequence number. But its superclass,  
> {{AbstractDelegationTokenIdentifier}} contains a lot more information, 
> including token issue and expiry times.
> Because  {{DelegationTokenIdentifier.toString()}} doesn't include this data,
> information that is potentially useful for kerberos diagnostics is lost.



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

Reply via email to