I've always run these examples from Eclipse and had not tried the CLI 
invocation until recently. This error has been posted on our wiki as a comment 
on the synthetic control examples page since Feb:  
https://cwiki.apache.org/confluence/display/MAHOUT/Visualizing+Sample+Clusters

-----Original Message-----
From: Sean Owen [mailto:[email protected]] 
Sent: Wednesday, May 25, 2011 9:15 AM
To: [email protected]
Subject: Re: [VOTE] Release Mahout 0.5, take 2

Now this looks different -- are you saying this is an additional error?

But it could suggest a mismatch between the Hadoop version at compile time
and runtime?
Weird, I have never seen that one myself but not sure I have run this
example! Let me look too.

On Wed, May 25, 2011 at 5:10 PM, Jeff Eastman <[email protected]> wrote:

> I've run this many times and it is a hard failure for me. The missing file
> is really missing in each run. Cannot run any of these from the CLI for some
> reason I don't understand:
>
> [dev@devbox mahout]$ ./bin/mahout
> org.apache.mahout.clustering.display.DisplaySpectralKMeans
> no HADOOP_HOME set, running locally
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/home/dev/workspace/mahout/examples/target/mahout-examples-0.6-SNAPSHOT-job.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/home/dev/workspace/mahout/examples/target/dependency/slf4j-jcl-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> May 25, 2011 9:09:00 AM org.slf4j.impl.JCLLoggerAdapter warn
> WARNING: No
> org.apache.mahout.clustering.display.DisplaySpectralKMeans.props found on
> classpath, will use command-line arguments only
> Exception in thread "main" java.lang.IllegalAccessException: Class
> org.apache.hadoop.util.ProgramDriver$ProgramDescription can not access a
> member of class org.apache.mahout.clustering.display.DisplaySpectralKMeans
> with modifiers "public static"
>        at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
>        at java.lang.reflect.Method.invoke(Method.java:588)
>        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:187)
>
> -----Original Message-----
> From: Sean Owen [mailto:[email protected]]
> Sent: Wednesday, May 25, 2011 1:13 AM
> To: [email protected]
> Subject: RE: [VOTE] Release Mahout 0.5, take 2
>
> Run again and it won't happen. I've seen this infrequently. I don't see it
> now nor see Jenkins failures. I believe it is mere test flakiness which is
> a
> bug though not a blocker.
> On May 25, 2011 12:26 AM, "Jeff Eastman" <[email protected]> wrote:
> > Trying to run the example DisplaySpectralKMeans from Eclipse, I'm getting
> an exception I didn't used to get:
> >
> > Exception in thread "main" java.lang.IllegalStateException:
> java.io.FileNotFoundException: File
>
> file:/home/dev/workspace/mahout/examples/output/calculations/laplacian-57/tmp/data
> does not exist.
> > at
>
> org.apache.mahout.math.hadoop.DistributedRowMatrix.times(DistributedRowMatrix.java:217)
> > at
>
> org.apache.mahout.math.decomposer.lanczos.LanczosSolver.solve(LanczosSolver.java:104)
> > at
>
> org.apache.mahout.math.hadoop.decomposer.DistributedLanczosSolver.runJob(DistributedLanczosSolver.java:70)
> > at
>
> org.apache.mahout.clustering.spectral.kmeans.SpectralKMeansDriver.run(SpectralKMeansDriver.java:155)
> > at
>
> org.apache.mahout.clustering.display.DisplaySpectralKMeans.main(DisplaySpectralKMeans.java:71)
> > Caused by: java.io.FileNotFoundException: File
>
> file:/home/dev/workspace/mahout/examples/output/calculations/laplacian-57/tmp/data
> does not exist.
> > at
>
> org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:361)
> > at
>
> org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:245)
> > at
>
> org.apache.hadoop.mapred.SequenceFileInputFormat.listStatus(SequenceFileInputFormat.java:51)
> > at
>
> org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:201)
> > at org.apache.hadoop.mapred.JobClient.writeOldSplits(JobClient.java:810)
> > at
> org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:781)
> > at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:730)
> > at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1249)
> > at
>
> org.apache.mahout.math.hadoop.DistributedRowMatrix.times(DistributedRowMatrix.java:209)
> >
> > -----Original Message-----
> > From: Sean Owen [mailto:[email protected]]
> > Sent: Monday, May 23, 2011 12:03 PM
> > To: Mahout Dev List
> > Subject: [VOTE] Release Mahout 0.5, take 2
> >
> >
>
> https://repository.apache.org/content/repositories/orgapachemahout-001/org/apache/mahout/
> >
> > Enjoy!
>

Reply via email to