[
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: [email protected]
For additional commands, e-mail: [email protected]