You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "wangyi (JIRA)" <ji...@apache.org> on 2019/07/08 08:52:00 UTC
[jira] [Commented] (HDFS-565) Introduce block committing logic
during new block allocation and file close.
[ https://issues.apache.org/jira/browse/HDFS-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880128#comment-16880128 ]
wangyi commented on HDFS-565:
-----------------------------
Why do you want to add this parameter (Block previous) in addBlock and file close? how to compatible with pre version?
> Introduce block committing logic during new block allocation and file close.
> ----------------------------------------------------------------------------
>
> Key: HDFS-565
> URL: https://issues.apache.org/jira/browse/HDFS-565
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client, namenode
> Affects Versions: Append Branch
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Priority: Major
> Fix For: Append Branch
>
> Attachments: CommitBlock.patch, CommitBlock.patch, HDFS-565.aj.patch
>
>
> {{ClientProtocol}} methods {{addBlock()}} and {{complete()}} need to include additional parameter - a block, which has been successfully written to data-nodes. By sending this block to the name-node the client confirms the generation stamp of the block and its length. The block on the name-node changes its state to committed and will become complete as long as one of the finalized replicas reported by data-nodes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org