[ 
https://issues.apache.org/jira/browse/HDFS-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005467#comment-13005467
 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-1675:
----------------------------------------------

In order to make sure the patch is useful for HDFS-1606, Jitendra and I came up 
with the following cases.
- Case 1: Failure in Pipeline Setup 
-* *Append*
-** Transfer the stored replica, which may be a RBW or a finalized replica.
-* *Create*
-** If no data, then no transfer is required.
-** If there are data written, transfer RBW.  This case may happens when there 
are streaming failure earlier in this pipeline.
- Case 2: Failure in Streaming or Close
-* *Append/Create*:
-** transfer RBW

Therefore, a method is required to supporting transferring the stored replica, 
RBW or finalized, of the source datanode.  It should return visible length, 
stored GS and whether it is a RBW.

> Transfer RBW between datanodes
> ------------------------------
>
>                 Key: HDFS-1675
>                 URL: https://issues.apache.org/jira/browse/HDFS-1675
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: data-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: h1675_20110228.patch, h1675_20110228b.patch, 
> h1675_20110308.patch, h1675_20110310.patch, h1675_20110310b.patch
>
>
> This is the step \(*) described 
> [here|https://issues.apache.org/jira/browse/HDFS-1606?focusedCommentId=12991321&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12991321].

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to