hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Zheng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8201) Refactor the end to end test for stripping file writing and reading
Date Tue, 21 Mar 2017 01:01:45 GMT

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

Kai Zheng commented on HDFS-8201:
---------------------------------

Just did a check and found below tests that all can serve the end to end test as desired here.
So this is obsolete and we don't need it any more.
{noformat}
TestReadStripedFileWithDecoding
TestReadStripedFileWithMissingBlocks
TestDFSStripedInputStream
TestDFSStripedOutputStream
{noformat}

> Refactor the end to end test for stripping file writing and reading
> -------------------------------------------------------------------
>
>                 Key: HDFS-8201
>                 URL: https://issues.apache.org/jira/browse/HDFS-8201
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Kai Zheng
>              Labels: hdfs-ec-3.0-nice-to-have
>         Attachments: HDFS-8201.001.patch, HDFS-8201.002.patch, HDFS-8201-HDFS-7285.003.patch,
HDFS-8201-HDFS-7285.004.patch, HDFS-8201-HDFS-7285.005.patch
>
>
> According to off-line discussion with [~zhz] and [~xinwei], we need to implement an end
to end test for stripping file support:
> * Create an EC zone;
> * Create a file in the zone;
> * Write various typical sizes of content to the file, each size maybe a test method;
> * Read the written content back;
> * Compare the written content and read content to ensure it's good;
> This jira aims to refactor the end to end test class(TestWriteReadStripedFile) in order
to reuse them conveniently in the next test step for erasure encoding and recovering. Will
open separate issue for it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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