[ 
https://issues.apache.org/jira/browse/HDFS-6685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo Nicholas Sze updated HDFS-6685:
--------------------------------------

    Attachment: h6685_20140730.patch

Thanks Arpit for reviewing the patch.

h6685_20140730.patch: 
- updates the comment at Balancer.java:357;
- fixes a bug that in utilization classification and simplifies the calculation;
- fixes a bug that getRemaining should get from a storage group but not a 
datanode; and
- syncs the patch with trunk.

The patch here indeed is not specific to the HDFS-6584 branch.  Let's target it 
to trunk.

> 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, 
> h6685_20140730.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)

Reply via email to