I had taken on MAHOUT-302 which is basically about overhauling how temp data is handled for tests. I think we can indeed handle it more cleanly and in a way such that collisions never happen. I'm still in the middle of it.
On Thu, Apr 29, 2010 at 11:38 PM, Ted Dunning <ted.dunn...@gmail.com> wrote: > Any chance to use a new name? > > On Thu, Apr 29, 2010 at 3:36 PM, Jeff Eastman > <j...@windwardsolutions.com>wrote: > >> The surfire report seems to indicate this might be a timing problem with >> hdfs being lazy. Sometimes it passes and sometimes it fails, but of course, >> right at the end of the 15 min core tests which makes it especially >> annoying. Any resolution possible? >> >> >> ------------------------------------------------------------------------------- >> Test set: org.apache.mahout.math.hadoop.TestDistributedRowMatrix >> >> ------------------------------------------------------------------------------- >> Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.828 sec >> <<< FAILURE! >> testTranspose(org.apache.mahout.math.hadoop.TestDistributedRowMatrix) Time >> elapsed: 1.507 sec <<< ERROR! >> java.lang.RuntimeException: >> org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory >> file:/Users/jeff/Documents/workspace/MahoutTrunk/core/testdata/transpose-72 >> already exists >> at >> org.apache.mahout.math.hadoop.DistributedRowMatrix.transpose(DistributedRowMatrix.java:163) >> at >> org.apache.mahout.math.hadoop.TestDistributedRowMatrix.testTranspose(TestDistributedRowMatrix.java:93) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at junit.framework.TestCase.runTest(TestCase.java:168) >> at junit.framework.TestCase.runBare(TestCase.java:134) >> at junit.framework.TestResult$1.protect(TestResult.java:110) >> at junit.framework.TestResult.runProtected(TestResult.java:128) >> >> >