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

Konstantin Boudnik commented on HDFS-1877:
------------------------------------------

Unless you already have something in mind, I see a couple of an interesting 
approaches to solve this. 
 - get some of existing functional tests and convert them to be usable on a 
real cluster (something line TestReadWhileWriting perhaps with append specific 
calls added)
 - HDFS-1762 would be another one worth think about. TestHDFSCLI won't 
apparently use programmatic APIs but will exercise HDFS trough hadoop starter.

The advantage of the latter is that you can add new test cases by simply 
editing an xml config file and let the framework do the rest for you.

> Create a functional test for file read/write
> --------------------------------------------
>
>                 Key: HDFS-1877
>                 URL: https://issues.apache.org/jira/browse/HDFS-1877
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: CW Chung
>            Priority: Minor
>
> It would be a great to have a tool, running on a real grid, to perform 
> function test (and stress tests to certain extent) for the file operations. 
> The tool would be written in Java and makes HDFS API calls to read, write, 
> append, hflush hadoop files. The tool would be usable standalone, or as a 
> building block for other regression or stress test suites (written in shell, 
> perl, python, etc).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to