[ https://issues.apache.org/jira/browse/HDFS-14746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16910492#comment-16910492 ]
Wei-Chiu Chuang commented on HDFS-14746: ---------------------------------------- Not sure why Yetus didn't report result, but this run in https://builds.apache.org/job/PreCommit-HDFS-Build/27558/ Test failure looks unrelated. +1 I'll commit soon. > 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 (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org