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 "He Xiaoqiao (JIRA)" <ji...@apache.org> on 2018/11/28 14:36:00 UTC

[jira] [Updated] (HDFS-14109) Improve hdfs auditlog format and support federation friendly

     [ https://issues.apache.org/jira/browse/HDFS-14109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

He Xiaoqiao updated HDFS-14109:
-------------------------------
    Attachment: HDFS-14109.patch

> Improve hdfs auditlog format and support federation friendly
> ------------------------------------------------------------
>
>                 Key: HDFS-14109
>                 URL: https://issues.apache.org/jira/browse/HDFS-14109
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: He Xiaoqiao
>            Assignee: He Xiaoqiao
>            Priority: Major
>         Attachments: HDFS-14109.patch
>
>
> The following auditlog format does not well meet requirement for federation arch currently. Since some case we need to aggregate all namespace audit log, if there are some common path request(e.g. /tmp, /user/ etc. some path may not appear in mountTable, but the path is very real), we will have no idea to split them that which namespace it request to. So I propose add column {{nsid}} to support federation more friendly.  
> {quote}2018-11-27 13:20:30,028 INFO FSNamesystem.audit: allowed=true   ugi=hdfs/hostname@REALM.COM (auth:KERBEROS)  ip=/10.1.1.2 cmd=getfileinfo src=/path   dst=null        perm=null       proto=rpc       clientName=null
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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