[
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:
{code}
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;
}
{code}
> 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.