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

Madhan Neethiraj commented on RANGER-413:
-----------------------------------------

[~bpatel] - copy consists of 3 steps, and each of these steps trigger 
authorization in NameNode - hence multiple audits:
# create a temporary file
# write to temporary file
# rename temporary file to target file name. 

The same is true for delete operation as well - when {{-skipTrash}} option is 
not used.

> Multiple audit entries are stored in Ranger database for HDFS plugin for a 
> single operation
> -------------------------------------------------------------------------------------------
>
>                 Key: RANGER-413
>                 URL: https://issues.apache.org/jira/browse/RANGER-413
>             Project: Ranger
>          Issue Type: Bug
>          Components: audit
>            Reporter: Sethukumar Ramachandran
>            Priority: Major
>         Attachments: test_Copy.png, test_delete.png
>
>
> Multiple entries are stored in audit database for a single operation at the 
> same time.
> Copied a file from Linux folder to HDFS.
>  I got 3 audit entries in Ranger for the same.
> The same happened for delete



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to