hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4308) addBlock() should persist file blocks once
Date Sat, 29 Dec 2012 13:14:14 GMT

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

Hudson commented on HDFS-4308:
------------------------------

Integrated in Hadoop-Hdfs-trunk #1269 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1269/])
    HDFS-4308. addBlock() should persist file blocks once. Contributed by Plamen Jeliazkov.
(Revision 1426700)

     Result = FAILURE
shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1426700
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java

                
> addBlock() should persist file blocks once
> ------------------------------------------
>
>                 Key: HDFS-4308
>                 URL: https://issues.apache.org/jira/browse/HDFS-4308
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.0.3-alpha
>            Reporter: Konstantin Shvachko
>            Assignee: Plamen Jeliazkov
>             Fix For: 2.0.3-alpha
>
>         Attachments: HDFS-4308.2.patch, HDFS-4308.patch
>
>
> FSNamesystem.getAdditionalBlock() persists all file blocks twice, first in {{dir.removeBlock()}}
using OP_ADD, then immediately after that in {{dir.persistBlocks()}} using OP_UPDATE_BLOCKS.
> This should be aggregated in one call to logEdit().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message