hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Krogen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12746) DataNode Audit Logger
Date Mon, 30 Oct 2017 20:16:00 GMT

    [ 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

> 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

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

View raw message