[ 
https://issues.apache.org/jira/browse/HDFS-9816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151206#comment-15151206
 ] 

Zhe Zhang commented on HDFS-9816:
---------------------------------

Thanks Walter, good point that the safe length will change after the TODOs of 
HDFS-9173. Meanwhile I also like the idea of adding randomness to the internal 
block lengths in this patch. So I think we should test the {{safeLengh}} logic 
and the main lease recovery logic separately.
# Still use a few hard-coded length combinations in {{testSafeLength}}.
# Use {{getBlockLengthsSuite}} and {{computeSafeLen}} in the rest of 
{{TestLeaseRecoveryStriped}}

Thoughts?

> 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)

Reply via email to