hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9732) Improve DelegationTokenIdentifier.toString() for better logging
Date Tue, 17 May 2016 21:19:13 GMT

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

Yongjun Zhang commented on HDFS-9732:
-------------------------------------

Thanks [~steve_l], [~cnauroth] and [~aw] again!

I just committed to trunk.

I attempted to cherry-pick to branch-2 etc, and found that there are quite a few conflicts.
 Then, I found that one dependent jira is incompatible itself and thus not made its path to
branch-2, See:

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

Even if I get this to branch-2, I found there is still some other missing jiras in branch-2
that makes it unclean. The test I used in TestDelegationTokenFetcher doesn't exist in branch-2.


At this point, I decide to get it to trunk only, since we are working on 3.0 anyways.


> Improve DelegationTokenIdentifier.toString() for better logging
> ---------------------------------------------------------------
>
>                 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
>            Assignee: Yongjun Zhang
>              Labels: supportability
>         Attachments: HADOOP-12752-001.patch, HDFS-9732-000.patch, HDFS-9732.001.patch,
HDFS-9732.002.patch, HDFS-9732.003.patch, HDFS-9732.004.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)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message