hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walter Su (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8769) Erasure Coding: unit test for SequentialBlockGroupIdGenerator
Date Wed, 22 Jul 2015 10:11:05 GMT

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

Walter Su commented on HDFS-8769:
---------------------------------

Contiguous version has a test {{testTriggerBlockIdCollision()}}. The meaning of the test is
to avoid collision when the id is occupied by legacy block (which has randomly generated id).

the randomly generated id could be negative.
So, could you add a test case that The id is occupied by contiguous file? You might have to
hack {{BlockIdGenerator}} so that you could create a contiguous file with negative ID.

The 2 test cases in 00 patch looks good. Thanks, [~rakeshr]!

> Erasure Coding: unit test for SequentialBlockGroupIdGenerator
> -------------------------------------------------------------
>
>                 Key: HDFS-8769
>                 URL: https://issues.apache.org/jira/browse/HDFS-8769
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Walter Su
>            Assignee: Rakesh R
>         Attachments: HDFS-8769-HDFS-7285-00.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message