[ https://issues.apache.org/jira/browse/HDFS-13270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16941215#comment-16941215 ]
hemanthboyina commented on HDFS-13270: -------------------------------------- in the Namenode's implementation for most of the methods we get file status as return value based on file status object we get owner,permission values and form audit log accordingly {code:java} auditStat = FSDirMkdirOp.mkdirs(this, pc, src, permissions, ..... logAuditEvent(true, operationName, src, null, auditStat); {code} that's not the case with Routers {code:java} public boolean mkdirs( return rpcClient.invokeSingle(firstLocation, method, Boolean.class); {code} welcoming suggestions to implement , thanks > RBF: Router audit logger > ------------------------ > > Key: HDFS-13270 > URL: https://issues.apache.org/jira/browse/HDFS-13270 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs > Affects Versions: 3.2.0 > Reporter: maobaolong > Assignee: hemanthboyina > Priority: Major > Attachments: HDFS-13270.001.patch, HDFS-13270.002.patch, > HDFS-13270.003.patch > > > We can use router auditlogger to log the client info and cmd, because the > FSNamesystem#Auditlogger's log think the client are all from router. -- 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