[ https://issues.apache.org/jira/browse/HDFS-5730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13873109#comment-13873109 ]
Uma Maheswara Rao G commented on HDFS-5730: ------------------------------------------- Also there are many redundant checks. We need to remove them. This check already done in LogAuditEvent method {code} if (auditLog.isInfoEnabled() && isExternalInvocation()) { ................... .................. private void logAuditEvent(boolean success, String cmd, String src, String dst, HdfsFileStatus stat) throws IOException { if (isAuditEnabled() && isExternalInvocation()) { logAuditEvent(allowed, getRemoteUser(), getRemoteIp(), cmd, src, dst, stat); } } {code} > Inconsistent Audit logging for HDFS APIs > ---------------------------------------- > > Key: HDFS-5730 > URL: https://issues.apache.org/jira/browse/HDFS-5730 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 3.0.0, 2.2.0 > Reporter: Uma Maheswara Rao G > Assignee: Uma Maheswara Rao G > > When looking at the audit loggs in HDFS, I am seeing some inconsistencies > what was logged with audit and what is added recently. > For more details please check the comments. -- This message was sent by Atlassian JIRA (v6.1.5#6160)