[ https://issues.apache.org/jira/browse/HDFS-15259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17111456#comment-17111456 ]
Chao Sun commented on HDFS-15259: --------------------------------- Yup. I think it is a won't fix. > Reduce useless log information in FSNamesystemAuditLogger > --------------------------------------------------------- > > Key: HDFS-15259 > URL: https://issues.apache.org/jira/browse/HDFS-15259 > Project: Hadoop HDFS > Issue Type: Improvement > Components: logging, namenode > Reporter: Yang Yun > Assignee: Yang Yun > Priority: Minor > Attachments: HDFS-15259.001.patch, HDFS-15259.002.patch > > > For most operations, the 'dst' is null, add checking before logging the 'dst' > information in FSNamesystemAuditLogger > {code:java} > 2020-04-03 16:34:40,021 INFO > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit: allowed=true > ugi=user (auth:SIMPLE) ip=/127.0.0.1 cmd=listStatus src=/ dst=null perm=null > proto=rpc > 2020-04-03 16:35:16,329 INFO > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit: allowed=true > ugi=user (auth:SIMPLE) ip=/127.0.0.1 cmd=getfileinfo src=/ dst=null perm=null > proto=rpc > 2020-04-03 16:35:16,362 INFO > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.audit: allowed=true > ugi=user (auth:SIMPLE) ip=/127.0.0.1 cmd=mkdirs src=/user dst=null > perm=yang:supergroup:rwxr-xr-x proto=rpc{code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org