[
https://issues.apache.org/jira/browse/HDFS-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Shvachko updated HDFS-517:
-------------------------------------
Attachment: Append-UCBlock.patch
This patch introduces {{BlockInfoUnderConstruction}} and removes fields
replated to the last block of file from {{INodeFileUnderConstruction}}.
{{BlockInfoUnderConstruction}} is created when a new block is allocated and is
converted to regular {{BlockInfo}} when it is not the last block of the file
anymore. We can keep track of multiple UC blocks now, but the patch does not
change any logic around it.
> Introduce BlockInfoUnderConstruction to reflect block replica states while
> writing.
> -----------------------------------------------------------------------------------
>
> Key: HDFS-517
> URL: https://issues.apache.org/jira/browse/HDFS-517
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: name-node
> Affects Versions: 0.21.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: Append Branch
>
> Attachments: Append-UCBlock.patch
>
>
> Currently when a block is created its locations are stored in
> {{INodeFileUnderConstruction.targets}}, which correspond to the last
> allocated block. With the new append design we will need to keep track of
> block replicas for several blocks rather than just the last one.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.