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

Rakesh R commented on HDFS-8786:
--------------------------------

Attached patch to support decommissioning node which contains striped blocks. 
Could you please review the patch when you get a chance. Thanks!

Following are the major changes:
- BlockManager will schedule data_transfer task to copy the block from 
decommissioning src node to a target node.
- While adding new node BlockInfoStriped will keep the new node to the old 
decommission node blkindex and move the old storage to the end of the 
{{storages}} list. Later this decommission node index will get removed.

> Erasure coding: DataNode should transfer striped blocks before being 
> decommissioned
> -----------------------------------------------------------------------------------
>
>                 Key: HDFS-8786
>                 URL: https://issues.apache.org/jira/browse/HDFS-8786
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Zhe Zhang
>            Assignee: Rakesh R
>         Attachments: HDFS-8786-001.patch, HDFS-8786-draft.patch
>
>
> Per [discussion | 
> https://issues.apache.org/jira/browse/HDFS-8697?focusedCommentId=14609004&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14609004]
>  under HDFS-8697, it's too expensive to reconstruct block groups for decomm 
> purpose.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to