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

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

[~xyao] , [~anu] - Here is early look at the entries in DN Audit Log.
{noformat}
2018-10-19 18:09:32,321 | INFO | DNAudit | user=null | ip=null | op=WRITE_CHUNK 
{blockId=org.apache.hadoop.hdds.client.BlockID@28ca254f[containerID=2,localID=100924586143252489],
 
chunkInfo=ChunkInfo{chunkName='b93ffed60e643485c0b5dddcfd54abae_stream_c715b4af-5872-49f1-a830-892ca6f296c6_chunk_1,
 offset=0, len=10240}} | ret=SUCCESS | 

2018-10-19 18:09:32,390 | INFO | DNAudit | user=null | ip=null | op=PUT_BLOCK 
{blockData={blockID='org.apache.hadoop.hdds.client.BlockID@53ff5cb3[containerID=2,localID=100924586143252484],
 metadata={TYPE=KEY}, 
chunks=[ChunkInfo{chunkName='6e6edd4c89ed1253d76c9ffdabb362dc_stream_8bb110b3-2d66-43f2-87e4-a2b100d98801_chunk_1,
 offset=0, len=10240}]}} | ret=SUCCESS | 
{noformat}
I will log another Jira to add user/ip using GRPC as that piece is dependent on 
other work.

Please review these sample entry and let me know what you think.

> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to