[ 
https://issues.apache.org/jira/browse/HDFS-12746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16225664#comment-16225664
 ] 

Erik Krogen commented on HDFS-12746:
------------------------------------

Thanks for the feedback [~anu]! I agree with you about logging all commands; 
this is pretty much what I had in mind.

I'm not sure about machine readable. Did you have something specific in mind? I 
was thinking that this should follow the format of the other audit logs, e.g. a 
set of a key-value pairs separated by equals. But maybe this is a good 
opportunity to develop something better; the lack of easily parseable format on 
the NN's audit logs has been an annoyance for quite some time.

> DataNode Audit Logger
> ---------------------
>
>                 Key: HDFS-12746
>                 URL: https://issues.apache.org/jira/browse/HDFS-12746
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode, logging
>            Reporter: Erik Krogen
>
> I would like to discuss adding in an audit logger for the Datanodes. We have 
> audit logging on pretty much all other components: Namenode, ResourceManager, 
> NodeManager. It seems the DN should have a similar concept to log, at 
> minimum, all block reads/writes. I think all of the interesting information 
> does already appear in the DN logs at INFO level but it would be nice to have 
> a specific audit class that this gets logged through, a la {{RMAuditLogger}} 
> and {{NMAuditLogger}}, to enable special handling.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to