hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9314) Improve BlockPlacementPolicyDefault's picking of excess replicas
Date Fri, 20 Nov 2015 19:48:11 GMT

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

Xiao Chen updated HDFS-9314:
    Attachment: HDFS-9314.004.patch

Thanks again [~mingma]! Attached patch 4 with the aforementioned changes:
- Pass in {{rackMap}} to {{pickupReplicaSet}}, add param to methods along the way.
- Update comments in {{BlockPlacementPolicyWithUpgradeDomain}}.
- Add test case to {{TestReplicationPolicyWithUpgradeDomain}}, verified it failed before the
fix and passed after.

> Improve BlockPlacementPolicyDefault's picking of excess replicas
> ----------------------------------------------------------------
>                 Key: HDFS-9314
>                 URL: https://issues.apache.org/jira/browse/HDFS-9314
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Ming Ma
>            Assignee: Xiao Chen
>         Attachments: HDFS-9314.001.patch, HDFS-9314.002.patch, HDFS-9314.003.patch, HDFS-9314.004.patch
> The test case used in HDFS-9313 identified NullPointerException as well as the limitation
of excess replica picking. If the current replicas are on {SSD(rack r1), DISK(rack 2), DISK(rack
3), DISK(rack 3)} and the storage policy changes to HOT_STORAGE_POLICY_ID, BlockPlacementPolicyDefault's
won't be able to delete SSD replica.

This message was sent by Atlassian JIRA

View raw message