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

Hairong Kuang commented on HDFS-576:
------------------------------------

1. we should bump up DatanodeProtocol's version not ClientProtocol's.
2. The original replica of RUR may in finalized state. In this case, should we 
add the original replica into finalized version.
3. Would the change be simpler if we change blockReport to take two lists: 
finalizedReplicas and ucReplicas? In ucReplicas, we use positive length to 
represent rbw replicas and negative length to represent rwr replicas or make 
blockReport to take three lists. In this way we do not need to change 
BlockListAsLongs. In the server side, there is no need to break the report into 
2 lists either.

> Extend Block report to include under-construction replicas
> ----------------------------------------------------------
>
>                 Key: HDFS-576
>                 URL: https://issues.apache.org/jira/browse/HDFS-576
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: data-node, name-node
>    Affects Versions: Append Branch
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: Append Branch
>
>         Attachments: BlockReport.htm, NewBlockReport.patch
>
>
> Current data-node block reports report only finalized (in append terminology) 
> blocks. Data-nodes should report all block replicas except for the temporary 
> ones so that clients could read from incomplete replicas and to make block 
> recovery possible.
> The attached design document goes into more details of the new block reports.

-- 
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