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

Todd Lipcon commented on HDFS-1244:
-----------------------------------

As an example, I have a hudson job running:

HADOOP_OPTS=-ea HADOOP_ROOT_LOGGER=DEBUG,console bin/hadoop 
org.apache.hadoop.hdfs.TestFileAppend2 --numDataNodes 1 --numThreads 40 
--appendsPerThread 2000 --numFiles 1
HADOOP_OPTS=-ea HADOOP_ROOT_LOGGER=DEBUG,console bin/hadoop 
org.apache.hadoop.hdfs.TestFileAppend2 --numDataNodes 2 --numThreads 40 
--appendsPerThread 2000 --numFiles 1

and it's found a couple of bugs in the 20 append function.

> Misc improvements to TestFileAppend2
> ------------------------------------
>
>                 Key: HDFS-1244
>                 URL: https://issues.apache.org/jira/browse/HDFS-1244
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.20-append, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.20-append, 0.22.0
>
>         Attachments: hdfs-1244-0.20-append.txt
>
>
> I've made a bunch of improvements to TestFileAppend2:
>  - Now has a main() with various command line options to change the workload 
> (number of DNs, number of threads, etc)
>  - Sleeps for less time in between operations to catch races around 
> close/reopen
>  - Updates to Junit 4 style, adds timeouts
>  - Improves error mesages on failure

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to