[ 
https://issues.apache.org/jira/browse/HADOOP-3310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598472#action_12598472
 ] 

dhruba borthakur commented on HADOOP-3310:
------------------------------------------

One comment: The primary datanode makes an RPC call to the secondary 
datanode(s) to stamp the generationStamp for a block. As part of processing 
this request, the secondary datanode(s) should first terminate any threads that 
are currently writing to that block before returning "success" to this RPC. The 
threads that are currently writing to a block can be found in 
FSDataset.ActiveFile.threads.


> Lease recovery for append
> -------------------------
>
>                 Key: HADOOP-3310
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3310
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 3310_20080514.patch, 3310_20080516b.patch, 
> 3310_20080516c.patch, 3310_20080519.patch, 3310_20080519b.patch
>
>
> In order to support file append, a GenerationStamp is associated with each 
> block.  Lease recovery will be performed when there is a possibility that the 
> replicas of a block in a lease may have different GenerationStamp values.
> For more details, see the documentation in HADOOP-1700.

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

Reply via email to