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 "Xinwei Qin (JIRA)" <ji...@apache.org> on 2015/05/21 14:57:08 UTC
[jira] [Commented] (HDFS-8201) Refactor the end to end test for
stripping file writing and reading
[ https://issues.apache.org/jira/browse/HDFS-8201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14554239#comment-14554239 ]
Xinwei Qin commented on HDFS-8201:
-----------------------------------
Thanks [~zhz] for the review.
1. The JIRA description and summary has been updated.
2. I don't think it is necessary to eventually subclass {{TestWriteRead}}, as the non-EC files can be tested in the {{TestWriteRead}}, and the {{TestWriteReadStripedFile}} class can only aim to the striped files. What do you think?
> 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)