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

Wei-Chiu Chuang commented on HADOOP-17389:
------------------------------------------

I think this is fine. Side note: HDFS NN audit logger uses UGI.toString() and 
returns full principal, plus proxy user name. Have you thought about doing the 
same?

[~dhavalshah9131] fyi you may want to port this change to RangerKMS when it's 
merged.

> KMS should log full UGI principal
> ---------------------------------
>
>                 Key: HADOOP-17389
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17389
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Ahmed Hussein
>            Assignee: Ahmed Hussein
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> [~daryn] reported that the kms-audit log only logs the short username:
> {{OK[op=GENERATE_EEK, key=key1, user=hdfs, accessCount=4206, 
> interval=10427ms]}}
> In this example, it's impossible to tell which NN(s) requested EDEKs when 
> they are all lumped together.



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