mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (Created) (JIRA)" <>
Subject [jira] [Created] (MAHOUT-999) KMeans failing to create correct Clustering Policy
Date Mon, 09 Apr 2012 12:43:18 GMT
KMeans failing to create correct Clustering Policy

                 Key: MAHOUT-999
             Project: Mahout
          Issue Type: Bug
            Reporter: Grant Ingersoll
            Priority: Minor

Jenkins has been complaining about the example for a while and the issue
appears to be due to trying to write a file to a directory that doesn't exist due to the fact
that it is a file, not a directory.


Exception in thread "main" Mkdirs failed to create /tmp/mahout-work-grantingersoll/reuters-kmeans-clusters/part-randomSeed/clusters-0
	at org.apache.hadoop.fs.ChecksumFileSystem.create(
	at org.apache.hadoop.fs.FileSystem.create(
	at org.apache.mahout.clustering.classify.ClusterClassifier.writePolicy(
	at org.apache.mahout.clustering.classify.ClusterClassifier.writeToSeqFiles(
	at org.apache.mahout.clustering.kmeans.KMeansDriver.buildClusters(
	at org.apache.mahout.clustering.kmeans.KMeansDriver.main(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(
	at org.apache.hadoop.util.ProgramDriver.driver(
	at org.apache.mahout.driver.MahoutDriver.main(

Run examples/bin/ and choose 1 (KMeans) to see the error.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message