You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by mBria <br...@gmail.com> on 2012/05/04 20:55:30 UTC
Test failure:
org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI
Hi all,
Welcome me :-) My first post to the forum, and my 2nd day knowing much at
all about Mahout - and my 2nd day bubbling with excitement to try it out and
get involved. So, before I continue - thanks in advance for making this
available!
Anyway, I'm trying to get Mahout installed, and have encountered a test
failure trying to build. ArrayIndexOutOfBoundsExceptionin
TestDistributedLanczosSolverCLI.
I do see https://issues.apache.org/jira/browse/MAHOUT-1005 seems to be
already on top of this (Ted/Jake), but I wanted to ask:
- if there's any idea when I can expect a fix
- if I can get/should a clean set of src with an older label/etc? If, so
where would I point my svn co to do so?
Sorry if this a premature or silly ask, just hoping to this running before
the weekend to see what I can do with this.
Cheers,
Mike
The error:
-------------------------------------------------------------------------------
Test set:
org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 212.194 sec
<<< FAILURE!
testDistributedLanczosSolverCLI(org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI)
Time elapsed: 42.674 sec <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: 7
at org.apache.mahout.math.DenseVector.getQuick(DenseVector.java:110)
at
org.apache.mahout.math.solver.EigenDecomposition.tql2(EigenDecomposition.java:294)
at
org.apache.mahout.math.solver.EigenDecomposition.<init>(EigenDecomposition.java:78)
at
org.apache.mahout.math.solver.EigenDecomposition.<init>(EigenDecomposition.java:62)
at
org.apache.mahout.math.decomposer.lanczos.LanczosSolver.solve(LanczosSolver.java:141)
at
org.apache.mahout.math.hadoop.decomposer.DistributedLanczosSolver.run(DistributedLanczosSolver.java:201)
at
org.apache.mahout.math.hadoop.decomposer.DistributedLanczosSolver.run(DistributedLanczosSolver.java:124)
at
org.apache.mahout.math.hadoop.decomposer.DistributedLanczosSolver$DistributedLanczosSolverJob.run(DistributedLanczosSolver.java:284)
at
org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI.testDistributedLanczosSolverCLI(TestDistributedLanczosSolverCLI.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at $Proxy0.invoke(Unknown Source)
at
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
--
View this message in context: http://lucene.472066.n3.nabble.com/Test-failure-org-apache-mahout-math-hadoop-decomposer-TestDistributedLanczosSolverCLI-tp3963152.html
Sent from the Mahout User List mailing list archive at Nabble.com.
Re: Test failure: org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI
Posted by Christoph Hermann <ch...@guschtel.de>.
Am Freitag, 4. Mai 2012, 20:55:30 schrieb mBria:
Hey,
> Welcome me :-) My first post to the forum, and my 2nd day knowing much at
> all about Mahout - and my 2nd day bubbling with excitement to try it out
> and get involved. So, before I continue - thanks in advance for making
> this available!
>
> Anyway, I'm trying to get Mahout installed, and have encountered a test
> failure trying to build. ArrayIndexOutOfBoundsExceptionin
> TestDistributedLanczosSolverCLI.
>
> I do see https://issues.apache.org/jira/browse/MAHOUT-1005 seems to be
> already on top of this (Ted/Jake), but I wanted to ask:
> - if there's any idea when I can expect a fix
> - if I can get/should a clean set of src with an older label/etc? If, so
> where would I point my svn co to do so?
>
> Sorry if this a premature or silly ask, just hoping to this running before
> the weekend to see what I can do with this.
Assuming you don't have much experience with maven:
You can always skip all the tests:
http://maven.apache.org/general.html#skip-test
And then you might want to run single tests:
http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-test.html
regards
Christoph
Re: Test failure:
org.apache.mahout.math.hadoop.decomposer.TestDistributedLanczosSolverCLI
Posted by mBria <br...@gmail.com>.
FYI, Ted was able to fix this over the weekend, and checking out the latest
builds cleanly now (via the command line anyway).
Thanks Ted.
--
View this message in context: http://lucene.472066.n3.nabble.com/Test-failure-org-apache-mahout-math-hadoop-decomposer-TestDistributedLanczosSolverCLI-tp3963152p3969461.html
Sent from the Mahout User List mailing list archive at Nabble.com.