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 "Jinglun (Jira)" <ji...@apache.org> on 2020/12/17 08:14:00 UTC
[jira] [Assigned] (HDFS-15730) Erasure Coding: Fix unit test bug of
TestAddOverReplicatedStripedBlocks.testProcessOverReplicatedAndCorruptStripedBlock.
[ https://issues.apache.org/jira/browse/HDFS-15730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jinglun reassigned HDFS-15730:
------------------------------
Assignee: Jinglun
> Erasure Coding: Fix unit test bug of TestAddOverReplicatedStripedBlocks.testProcessOverReplicatedAndCorruptStripedBlock.
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-15730
> URL: https://issues.apache.org/jira/browse/HDFS-15730
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Jinglun
> Assignee: Jinglun
> Priority: Minor
>
> I'm working on ec replication and find a bug of the test case: TestAddOverReplicatedStripedBlocks#testProcessOverReplicatedAndCorruptStripedBlock.
> The test case added 2 redundant block then check the block indices. It wrote 'the redundant internal blocks will not be deleted before the corrupted block gets reconstructed.'
> But actually the redundant block could be deleted when there is corrupted block. The reason the test could pass is it runs very fast and checks the block indices before the redundant block is deleted and reported to the NameNode.
> The patch is both a fix and an explanation of the bug.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org