Hi,

I have tried to run spectral clustering example
<http://mahout.apache.org/users/clustering/spectral-clustering.html> and
got the following error:

Exception in thread "main" java.io.FileNotFoundException: No such file
or directory 'hdfs://172.31.16.9:9000/user/hadoop/temp/calculations/unitvectors'
        at 
com.amazon.ws.emr.hadoop.fs.s3n.S3NativeFileSystem.getFileStatus(S3NativeFileSystem.java:759)
        at 
com.amazon.ws.emr.hadoop.fs.EmrFileSystem.getFileStatus(EmrFileSystem.java:507)
        at 
org.apache.mahout.clustering.spectral.kmeans.EigenSeedGenerator.buildFromEigens(EigenSeedGenerator.java:68)
        at 
org.apache.mahout.clustering.spectral.kmeans.SpectralKMeansDriver.run(SpectralKMeansDriver.java:244)
        at 
org.apache.mahout.clustering.spectral.kmeans.SpectralKMeansDriver.run(SpectralKMeansDriver.java:127)
        at 
org.apache.mahout.clustering.spectral.kmeans.SpectralKMeansDriver.run(SpectralKMeansDriver.java:118)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
        at 
org.apache.mahout.clustering.spectral.kmeans.SpectralKMeansDriver.main(SpectralKMeansDriver.java:69)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:212)


I tried to run it on Amazon EMR using version 0.8, 0.9 and then
compiled version from the repository.

Does anyone know whether there is any bug in the code or is the EMR
cluster not configured correctly?


Regards,


Niko

Reply via email to