hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-7298) Add test utility for writing multi-threaded tests
Date Wed, 18 May 2011 05:45:47 GMT

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

Todd Lipcon updated HADOOP-7298:
--------------------------------

    Attachment: hadoop-7298.txt

Cleaned up the hbase utility a bit and added test cases for the test utility.

I think this will make a nice building block to build some stress/fuzz tests for the namenode
for HDFS-988. But, no need to commit it until such a test is ready.

> Add test utility for writing multi-threaded tests
> -------------------------------------------------
>
>                 Key: HADOOP-7298
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7298
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: hadoop-7298.txt
>
>
> A lot of our tests spawn off multiple threads in order to check various synchronization
issues, etc. It's often tedious to write these kinds of tests because you have to manually
propagate exceptions back to the main thread, etc.
> In HBase we have developed a testing utility which makes writing these kinds of tests
much easier. I'd like to copy that utility into Hadoop so we can use it here as well.

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

Mime
View raw message