You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2009/08/25 03:10:59 UTC

[jira] Created: (HDFS-565) Introduce block committing logic during new block allocation and file close.

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, name-node
    Affects Versions: Append Branch
            Reporter: Konstantin Shvachko
            Assignee: Konstantin Shvachko
             Fix For: Append Branch


{{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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HDFS-565) Introduce block committing logic during new block allocation and file close.

Posted by "Konstantin Shvachko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Shvachko resolved HDFS-565.
--------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

I just committed this.

> 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, name-node
>    Affects Versions: Append Branch
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: Append Branch
>
>         Attachments: CommitBlock.patch, CommitBlock.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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.