You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yongjun Zhang (JIRA)" <ji...@apache.org> on 2016/03/25 18:35:25 UTC

[jira] [Comment Edited] (HDFS-9732) Remove DelegationTokenIdentifier.toString() —for better logging output

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

Yongjun Zhang edited comment on HDFS-9732 at 3/25/16 5:35 PM:
--------------------------------------------------------------

Hi [~stevel@apache.org], thanks for reporting the issue here, and thanks [~cnauroth] and [~aw] for the discussion.

I recently had an issue and reported HDFS-10211, Chris pointed out it's a duplicate of this one. The attached patch seems for other issue. Do you mind I work on this one?

As Chris stated in the comment above, to be backward compatible, we can add --verbose switch to fetchdt to print out more details, but let the detail behavior to be the same as before.

For places like to one I reported in HDFS-10211, I'd like to change it to print verbose info.

Thanks.



was (Author: yzhangal):
Hi [~stevel@apache.org], thanks for reporting the issue here, and thanks [~cnauroth] and [~aw] for the discussion.

I recently had an issue and reported HDFS-10211, Chris pointed out it's a duplicate of this one. The attached patch seems for other issue. Do you mind I work on this one?

To be backward compatible, we can add --verbose switch to fetchdt to print out more details, but let the detail behavior to be the same as before.

For places like to one I reported in HDFS-10211, I'd like to change it to print verbose info.

Thanks.


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