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

SammiChen commented on HDFS-12444:
----------------------------------

Hi [~andrew.wang], the patch looks overall great to me. 
 One style, this can be merge into one line. 
 {quote}
  fs.enableErasureCodingPolicy(
        ecPolicy.getName());
{quote}

An alternative is we keep RS(6,3) policy, reduce the "stripesPerBlock" from "4" 
to "2", theoretically thus can reduce 50% time compared with RS(6,3) to RS(3,2)

> Reduce runtime of TestWriteReadStripedFile
> ------------------------------------------
>
>                 Key: HDFS-12444
>                 URL: https://issues.apache.org/jira/browse/HDFS-12444
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: erasure-coding, test
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: HDFS-12444.001.patch
>
>
> This test takes a long time to run since it writes a lot of data, and 
> frequently times out during precommit testing. If we change the EC policy 
> from RS(6,3) to RS(3,2) then it will run a lot faster.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to