hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3283) Need a mechanism for data nodes to update generation stamps.
Date Sat, 19 Apr 2008 00:38:31 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590655#action_12590655

Tsz Wo (Nicholas), SZE commented on HADOOP-3283:

One way is to an inter-DataNode protocol for block manipulation:
interface BlockProtocol extends VersionedProtocol {
   * Update the GenerationStamp of a block.
   * @return true iff update was required and done successfully. 
  public boolean updateGenerationStamp(Block block,
      GenerationStamp generationstamp) throws IOException;

   * @return the BlockMetaDataInfo of the block. 
  public BlockMetaDataInfo getBlockMetaDataInfo(Block block) throws IOException;

> Need a mechanism for data nodes to update generation stamps.
> ------------------------------------------------------------
>                 Key: HADOOP-3283
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3283
>             Project: Hadoop Core
>          Issue Type: New Feature
>            Reporter: Tsz Wo (Nicholas), SZE
> For implementing file append feature (HADOOP-1700), a generation stamp is added to each
block.  We need a mechanism for data nodes to update generation stamps for lease recovery.

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

View raw message