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

Dinesh Chitlangia commented on HDDS-120:
----------------------------------------

[~arpitagarwal]
{quote}The getAuditParams knows about the 'schema' of each request. I wonder if 
there is a way to refactor the code so each request type knows how to generate 
its own audit parameters/string.
{quote}
Yes, that change would be required on the ratis side where we can add a method 
getAuditString() to serve the purpose.

That will also take care of #2 and HddsDispatcher class itself will be a lot 
cleaner.

> Adding HDDS datanode Audit Log
> ------------------------------
>
>                 Key: HDDS-120
>                 URL: https://issues.apache.org/jira/browse/HDDS-120
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Xiaoyu Yao
>            Assignee: Dinesh Chitlangia
>            Priority: Major
>              Labels: alpha2
>         Attachments: HDDS-120.001.patch, HDDS-120.002.patch, 
> HDDS-120.003.patch, HDDS-120.004.patch, HDDS-120.005.patch, HDDS-120.006.patch
>
>
> This can be useful to find users who overload the DNs. 



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