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

Dinesh Chitlangia commented on HDDS-198:
----------------------------------------

[~nandakumar131] - Thank you for review comments.

Added revisions for AuditAction and AuditLogger as advised.

Auditable is supposed to be implemented by classes like KSMVolumeArgs, 
KSMBucketArgs etc.

But, I understand your point, so I have added a DummyEntity for test purpose to 
implement Auditable.

The JUnit test has also been updated.

 

Attached revised patch.

 

Thank you!

> Create AuditLogger mechanism to be used by OM, SCM and Datanode
> ---------------------------------------------------------------
>
>                 Key: HDDS-198
>                 URL: https://issues.apache.org/jira/browse/HDDS-198
>             Project: Hadoop Distributed Data Store
>          Issue Type: New Feature
>            Reporter: Dinesh Chitlangia
>            Assignee: Dinesh Chitlangia
>            Priority: Major
>              Labels: audit, log4j2
>             Fix For: 0.2.1
>
>         Attachments: HDDS-198.001.patch, HDDS-198.002.patch
>
>
> This Jira tracks the work to create a custom AuditLogger which can be used by 
> OM, SCM, Datanode for auditing read/write events.
> The AuditLogger will be designed using log4j2 and leveraging the MarkerFilter 
> approach to be able to turn on/off audit of read/write events by simply 
> changing the log config.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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