FAQ
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
Fix For: 0.21.1


{{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.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedAug 31, '10 at 9:54p
activeAug 31, '10 at 9:54p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Konstantin Shvachko (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase