hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6886) Use single editlog record for creating file + overwrite.
Date Tue, 02 Sep 2014 17:59:21 GMT

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

Vinayakumar B commented on HDFS-6886:
-------------------------------------

bq.       this.overwrite = Boolean.parseBoolean(st.getValue("OVERWRITE"));
Here you may need to use {{st.getValueOrNull(..)}}, otherwise InvalidXmlException will be
thrown if tried to convert old edits.


> 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, HDFS-6886.003.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.3.4#6332)

Mime
View raw message