You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "kevin su (JIRA)" <ji...@apache.org> on 2019/08/19 05:18:00 UTC
[jira] [Updated] (HDFS-14746) Trivial test code update after
HDFS-14687
[ https://issues.apache.org/jira/browse/HDFS-14746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
kevin su updated HDFS-14746:
----------------------------
Attachment: HDFS-14746.001.patch
> Trivial test code update after HDFS-14687
> -----------------------------------------
>
> Key: HDFS-14746
> URL: https://issues.apache.org/jira/browse/HDFS-14746
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: ec
> Reporter: Wei-Chiu Chuang
> Assignee: kevin su
> Priority: Trivial
> Attachments: HDFS-14746.001.patch
>
>
> Instead of getting erasure coding policy instance by id, it should use a constant value.
> Change
> {code}
> ErasureCodingPolicy ecPolicy = SystemErasureCodingPolicies.getPolicies()
> .get(3);
> {code}
> to
> {code}
> ErasureCodingPolicy ecPolicy = SystemErasureCodingPolicies.getByID(XOR_2_1_POLICY_ID);
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org