hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takanobu Asanuma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12677) Extend TestReconstructStripedFile with a random EC policy
Date Thu, 19 Oct 2017 09:44:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-12677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Takanobu Asanuma updated HDFS-12677:
------------------------------------
    Attachment: HDFS-12677.1.patch

Uploaded the 1st patch. The new test class with a random ec policy extends {{TestReconstructStripedFile}}
with a few changes.

When the ec policy is {{XOR-2-1-1024k}}, this assertion fails.
{code:title=TestReconstructStripedFile#testNNSendsErasureCodingTasks|borderStyle=solid}
     assertTrue(policy.getNumParityUnits() >= deadDN);
{code}

I checked the code and this assertion seems not to make sense. So the 1st patch removes it.
I confirmed that all EC policies pass the all tests with the patch in my local computer.

> Extend TestReconstructStripedFile with a random EC policy
> ---------------------------------------------------------
>
>                 Key: HDFS-12677
>                 URL: https://issues.apache.org/jira/browse/HDFS-12677
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: erasure-coding, test
>            Reporter: Takanobu Asanuma
>            Assignee: Takanobu Asanuma
>         Attachments: HDFS-12677.1.patch
>
>




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


Mime
View raw message