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 "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2009/09/28 08:01:16 UTC

[jira] Updated: (HDFS-658) Block recovery for primary data-node

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

Konstantin Shvachko updated HDFS-658:
-------------------------------------

    Attachment: primaryRecovery.patch

Here is the patch for primary recovery.
The primary uses InterDatanodeProtocol fore recovery communication with other node. There are two new methods in the protocol, which are intended to replace the old two.
New method {{initReplicaRecovery()}} is used instead of the old one {{getBlockMetaDataInfo()}},
{{updateReplicaUnderRecovery()}} is used instead of the old {{updateBlock()}}.
Old methods are deprecated so I expect some javac warnings about it. I plan to remove old methods in the next patch.

> Block recovery for primary data-node
> ------------------------------------
>
>                 Key: HDFS-658
>                 URL: https://issues.apache.org/jira/browse/HDFS-658
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: data-node
>    Affects Versions: Append Branch
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: Append Branch
>
>         Attachments: primaryRecovery.patch
>
>
> Implementation of the block recovery logic for primary data-node as described in append design document.

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