[
https://issues.apache.org/jira/browse/HDFS-6685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14078563#comment-14078563
]
Arpit Agarwal commented on HDFS-6685:
-------------------------------------
If the Balancer is an older version than the DNs it may not know of some newer
StorageTypes. I think with your changes we will just avoid considering unknown
storage types in the balancing which sounds like acceptable behavior to me.
Nitpick - comment on line 357 needs update.
+1 otherwise, the storageGroup approach is rather neat!
> Archival Storage: Update Balancer to preserve storage type of replicas
> ----------------------------------------------------------------------
>
> Key: HDFS-6685
> URL: https://issues.apache.org/jira/browse/HDFS-6685
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: balancer
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Attachments: h6685_20140728.patch, h6685_20140729.patch
>
>
> In order to maintain storage policy requirement, Balancer always moves
> replicas from a storage with any type to another storage with the same type,
> i.e. it preserves storage type of replicas. In this way, Balancer does not
> require to know storage policy information.
--
This message was sent by Atlassian JIRA
(v6.2#6252)