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

Chao Sun commented on HDFS-12300:
---------------------------------

This DT related info in audit log is very useful for us as well and we are in 
branch-2. 

[~xiaochen]: Regarding the difficulties of backporting. Can we not depend on 
{{toStringStable}} but make a util method with the same implementation? those 
fields required by {{toStringStable}} are already available by 
{{DelegationTokenIdentifier}}.



> Audit-log delegation token related operations
> ---------------------------------------------
>
>                 Key: HDFS-12300
>                 URL: https://issues.apache.org/jira/browse/HDFS-12300
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 0.22.0
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>            Priority: Major
>             Fix For: 3.0.0-beta1
>
>         Attachments: HDFS-12300.01.patch, HDFS-12300.02.patch
>
>
> When inspecting the code, I found that the following methods in FSNamesystem 
> are not audit logged:
> - getDelegationToken
> - renewDelegationToken
> - cancelDelegationToken
> The audit log itself does have a logTokenTrackingId field to additionally log 
> some details when a token is used for authentication.
> After emailing the community, we should add that.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to