The stack trace indicates that you could not write to the file/directory. Which user id did you invoke Mahout with?
Marty Kube | Partner | Beaver Creek Consulting Corp | [email protected] | 703-975-2281 On Dec 14, 2012, at 7:30 PM, Serge Blazhievsky wrote: > Thanks for replay > > Yeap > > everything is there > > ls -ld /tmp/mahout-work-biadmin/reuters-kmeans/clusterdump > drwxr-xr-x 2 biadmin bigroup 4096 Dec 14 18:47 > /tmp/mahout-work-biadmin/reuters-kmeans/clusterdump > > > On Fri, Dec 14, 2012 at 4:10 PM, Marty Kube < > [email protected]> wrote: > >> 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) >>> >>> >>
