Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
-
Reviewed
Description
This jira is a follow-on work of HDFS-8786, where we do decommissioning of datanodes having striped blocks.
Now, after decommissioning it requires to change the ordering of the storage list so that the decommissioned datanodes should only be last node in list.
For example, assume we have a block group with storage list:-
d0, d1, d2, d3, d4, d5, d6, d7, d8, d9
mapping to indices
0, 1, 2, 3, 4, 5, 6, 7, 8, 2
Here the internal block b2 is duplicated, locating in d2 and d9. If d2 is a decommissioning node then should switch d2 and d9 in the storage list.
Thanks jingzhao for the discussions