[ https://issues.apache.org/jira/browse/HDFS-8468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14609578#comment-14609578 ]
Zhe Zhang commented on HDFS-8468: --------------------------------- Thanks Vinay! {{setCurrentPacket2Empty}} is in the branch but not in trunk. Should we push that refactor to trunk? Actually it seems all branch changes in {{DFSOutputStream}} are applicable to trunk. > 2 RPC calls for every file read in DFSClient#open(..) resulting in double > Audit log entries > ------------------------------------------------------------------------------------------- > > Key: HDFS-8468 > URL: https://issues.apache.org/jira/browse/HDFS-8468 > Project: Hadoop HDFS > Issue Type: Sub-task > Affects Versions: HDFS-7285 > Reporter: Vinayakumar B > Assignee: Vinayakumar B > Fix For: HDFS-7285 > > Attachments: HDFS-8468-HDFS-7285-02.patch, HDFS-8468-HDFS-7285.patch > > > In HDFS-7285 branch, > To determine whether file is striped/not and get the Schema for the file, 2 > RPCs done to Namenode. > This is resulting in double audit logs for every file read for both > striped/non-striped. > This will be a major impact in size of audit logs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)