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

Kihwal Lee commented on HDFS-6888:
----------------------------------

See the patch in HDFS-3733. When this logging was added, a number of test cases 
were added. These test cases need to be modified.  "open" (i.e. 
getBlockLocations()) is logged for webhdfs. For example, 
{{testAuditWebHdfsOpen()} generates 3 audit log entries: getfileinfo/webhdfs, 
open/webhdfs and open/rpc.  After this change, it will have the last two 
entries. 

> Remove audit logging of getFIleInfo()
> -------------------------------------
>
>                 Key: HDFS-6888
>                 URL: https://issues.apache.org/jira/browse/HDFS-6888
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Kihwal Lee
>            Assignee: Chen He
>              Labels: log
>         Attachments: HDFS-6888.patch
>
>
> The audit logging of getFileInfo() was added in HDFS-3733.  Since this is a 
> one of the most called method, users have noticed that audit log is now 
> filled with this.  Since we now have HTTP request logging, this seems 
> unnecessary.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to