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

Xinwei Qin  updated HDFS-8201:
------------------------------
    Description: 
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.

  was:
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;

The test facility is subject to add more steps for erasure encoding and 
recovering. Will open separate issue for it.


> 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
>            Assignee: Xinwei Qin 
>         Attachments: HDFS-8201-HDFS-7285.003.patch, 
> HDFS-8201-HDFS-7285.004.patch, HDFS-8201.001.patch, HDFS-8201.002.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.4#6332)

Reply via email to