[
https://issues.apache.org/jira/browse/HDFS-9816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15150432#comment-15150432
]
Walter Su commented on HDFS-9816:
---------------------------------
The safe length may change if steps 3,4 is included(See HDFS-9173). I prefer
hard-coded test suite because it's more clear what the safe length is, and in
which step for now. The safe length calculation also need to be tested. So it's
better to use hard-coded values, and don't repeat the calculation logic from
production code.
> Erasure Coding: allow to use multiple EC policies in striping related tests
> [Part 3]
> ------------------------------------------------------------------------------------
>
> Key: HDFS-9816
> URL: https://issues.apache.org/jira/browse/HDFS-9816
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: erasure-coding, test
> Reporter: Rui Li
> Assignee: Rui Li
> Attachments: HDFS-9816.1.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)