> Tom, haven't you done something similar with your https://
> computefarm.dev.java.net/ project?
Yes, this was some time ago now, but the basic idea was to extend JUnit (this in itself was hard since JUnit 3 was not really written for extensibility to distribute test cases to worker machines using JavaSpaces. The idea was to distribute them in order to get the whole suite to run faster, not to run each test a number of times in order to examine failure rates.
One of the nice things was that you didn't have to install your tests on the workers since Jini code mobility ensured the bytecodes were downloaded as necessary. However you did need to make sure your tests were Serializable... More at https://computefarm.dev.java.net/samples.html and https://computefarm.dev.java.net/source/browse/computefarm/trunk/samples/src/java/org/tiling/computefarm/samples/junit/.
I think this would be a nice general application of Hadoop, and we'd be able to avoid the restriction on tests having to be Serializable.
However, for the immediate problem of reducing test execution time on Hudson, Doug's suggestion of writing a custom ant task sounds like it would be more appropriate.