Yes of course. Does the directory exists and do you have write permission to the directory? Try a:

ls -ld  /tmp/mahout-work-biadmin/reuters-kmeans


On 12/14/2012 06:45 PM, Serge Blazhievsky wrote:
Hi

I am trying to execute example

cluster-reuters.sh

and I am getting the following error:

Anybody have seen this before?

Exception in thread "main" java.io.FileNotFoundException:
/tmp/mahout-work-biadmin/reuters-kmeans/clusterdump (No such file or
directory)
     at java.io.FileOutputStream.open(Native Method)
     at java.io.FileOutputStream.<init>(FileOutputStream.java:205)
     at java.io.FileOutputStream.<init>(FileOutputStream.java:156)
     at com.google.common.io.Files.newWriter(Files.java:83)
     at
org.apache.mahout.utils.clustering.ClusterDumper.printClusters(ClusterDumper.java:182)
     at
org.apache.mahout.utils.clustering.ClusterDumper.run(ClusterDumper.java:153)
     at
org.apache.mahout.utils.clustering.ClusterDumper.main(ClusterDumper.java:102)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
     at
org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
     at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
     at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:195)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
     at org.apache.hadoop.util.RunJar.main(RunJar.java:156)


Reply via email to