hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-1363) startFileInternal should return the last block of the file opened for append as an under-construction block
Date Wed, 15 Sep 2010 00:38:33 GMT

     [ https://issues.apache.org/jira/browse/HDFS-1363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Konstantin Shvachko updated HDFS-1363:
--------------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

I just committed this.

> startFileInternal should return the last block of the file opened for append as an under-construction
block
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1363
>                 URL: https://issues.apache.org/jira/browse/HDFS-1363
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.21.1
>
>         Attachments: appendFileSync-0.21.patch, appendFileSync.patch, appendFileSync.patch
>
>
> {{FSNamesystem.startFileInternal}} should convert the last block of the file opened for
append to an under-construction block and return it. This will let remove the second synchronized
section in {{FSNamesystem.appendFile()}} and avoid redundant computations and potential inconsistencies
as stated in HDFS-1152.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message