Isabel Drost (JIRA) wrote:
     [ 
https://issues.apache.org/jira/browse/MAHOUT-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Isabel Drost closed MAHOUT-27.
------------------------------

    Resolution: Fixed

Looks like some hadoop files from earlier runs were still lying in my /tmp 
directory. After removing them manually, the tests all ran fine. Not sure why 
they were not tidied up.

Canopy/KMeans unit tests failing
--------------------------------

                Key: MAHOUT-27
                URL: https://issues.apache.org/jira/browse/MAHOUT-27
            Project: Mahout
         Issue Type: Bug
         Components: Clustering
   Affects Versions: 0.1
           Reporter: Isabel Drost

After checking out the project from svn and running "ant compile test" I 
noticed that three unit tests are failing:
    [junit] Test org.apache.mahout.clustering.canopy.TestCanopyCreation FAILED
    [junit] Testcase: 
testKMeansMRJob(org.apache.mahout.clustering.kmeans.TestKmeansClustering):      
  FAILED
    [junit] Test org.apache.mahout.clustering.kmeans.TestKmeansClustering FAILED
Isabel

Hadoop does not clean up the /tmp files unless the process terminates normally. If you were debugging and terminated a debugger then /tmp will have some garbage in it that must be removed manually. As a result of this, I always allow unit tests to run to completion rather than aborting them in the middle. It may be some exception handlers in Hadoop's simulated cluster implementation are missing.

Jeff

Reply via email to