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

Ravi Prakash commented on HDFS-10305:
-------------------------------------

Thanks Colin!

That's interesting then. {{hdfs dfs -mkdir /dirAlreadyExists}} returns a 
non-zero return code. I assumed a non-zero error code == a failed operation. 
Obviously I was wrong.

> Hdfs audit shouldn't log mkdir operaton if the directory already exists.
> ------------------------------------------------------------------------
>
>                 Key: HDFS-10305
>                 URL: https://issues.apache.org/jira/browse/HDFS-10305
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>            Reporter: Rushabh S Shah
>            Assignee: Rushabh S Shah
>            Priority: Minor
>
> Currently Hdfs audit logs mkdir operation even if the directory already 
> exists.
> This creates confusion while analyzing audit logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to