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 "SammiChen (JIRA)" <ji...@apache.org> on 2017/09/14 07:57:00 UTC

[jira] [Comment Edited] (HDFS-12444) Reduce runtime of TestWriteReadStripedFile

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

SammiChen edited comment on HDFS-12444 at 9/14/17 7:56 AM:
-----------------------------------------------------------

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


was (Author: sammi):
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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org