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

Todd Lipcon commented on HDFS-2968:
-----------------------------------

The PBHelper code has:
{code}
    for (int i = 0; i < list.size(); i++) {
      recoveringBlocks.add(PBHelper.convert(list.get(0)));
    }
{code}
which is obviously wrong

                
> Protocol translator for BlockRecoveryCommand broken when multiple blocks need 
> recovery
> --------------------------------------------------------------------------------------
>
>                 Key: HDFS-2968
>                 URL: https://issues.apache.org/jira/browse/HDFS-2968
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node, name-node
>    Affects Versions: 0.24.0, 0.23.2
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Blocker
>
> If there are multiple blocks to be recovered, it ends up translating to N 
> copies of the first block instead of the N different blocks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to