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 "jianghua zhu (Jira)" <ji...@apache.org> on 2020/09/08 07:31:00 UTC
[jira] [Commented] (HDFS-15516) Add info for create flags in
NameNode audit logs
[ https://issues.apache.org/jira/browse/HDFS-15516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17192008#comment-17192008 ]
jianghua zhu commented on HDFS-15516:
-------------------------------------
When creating a file, the audit log adds a flag. E.g:
2020-09-08 14:34:34,191 [IPC Server handler 1 on default port 60665] INFO FSNamesystem.audit (FSNamesystem.java:logAuditMessage(8737)) - allowed=true ugi=zhujianghua (auth:SIMPLE) ip=/127.0.0.1 cmd=create src=/debug.log dst=null perm=zhujianghua:supergroup:rw-r--r--createFlag=CREATE:OVERWRITE proto=rpc
> Add info for create flags in NameNode audit logs
> ------------------------------------------------
>
> Key: HDFS-15516
> URL: https://issues.apache.org/jira/browse/HDFS-15516
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Reporter: Shashikant Banerjee
> Assignee: jianghua zhu
> Priority: Major
> Labels: pull-request-available
> Attachments: HDFS-15516.001.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, if file create happens with flags like overwrite , the audit logs doesn't seem to contain the info regarding the flags in the audit logs. It would be useful to add info regarding the create options in the audit logs similar to Rename ops.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org