[ https://issues.apache.org/jira/browse/HDFS-6886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14106627#comment-14106627 ]
Yi Liu commented on HDFS-6886: ------------------------------ Right, agree with that if the file exists, then {{checkAncestorAccess}} is to check the parent. I will update it in next patch version together with update for other guys' comments. > Use single editlog record for creating file + overwrite. > -------------------------------------------------------- > > Key: HDFS-6886 > URL: https://issues.apache.org/jira/browse/HDFS-6886 > Project: Hadoop HDFS > Issue Type: Improvement > Components: namenode > Reporter: Yi Liu > Assignee: Yi Liu > Priority: Critical > Attachments: HDFS-6886.001.patch, HDFS-6886.002.patch, editsStored > > > As discussed in HDFS-6871, as [~jingzhao] and [~cmccabe]'s suggestion, we > could do further improvement to use one editlog record for creating file + > overwrite in this JIRA. We could record the overwrite flag in editlog for > creating file. -- This message was sent by Atlassian JIRA (v6.2#6252)