Reply
Contributor
Posts: 38
Registered: ‎01-05-2015
Accepted Solution

If running a Mahout DistributedLanczosSolver Job an IncompatibleClassChangeError occurs!

Hello Colleagues,

 

if i run a  Mahout DistributedLanczosSolver Job the following error were thrown from the LanczosSolver :

 

Exception in thread "main" java.lang.IncompatibleClassChangeError: class org.apache.mahout.math.decomposer.lanczos.LanczosSolver$Scale has interface org.apache.mahout.math.function.DoubleFunction as super class

I'm using CDH 5.3.2 and the mahout 0.9 packages for CDH 5.3.2.

 

If i started the job a map reduce job is was finished and the following log message were shown:

INFO lanczos.LanczosSolver: 1 passes through the corpus so far...

After this, the error message above occurs.

 

Do you have any ideas or a soloution regarding this issue?

 

Thanks and regards,

 butkiz

 

 

Cloudera Employee
Posts: 481
Registered: ‎08-11-2014

Re: If running a Mahout DistributedLanczosSolver Job an IncompatibleClassChangeError occurs!

This kind of thing means you've got a mismatch somewhere between library versions. Are you packaging a different version of Mahout with your app? do you have old copies of the library somewhere on a classpath?

Highlighted
Contributor
Posts: 38
Registered: ‎01-05-2015

Re: If running a Mahout DistributedLanczosSolver Job an IncompatibleClassChangeError occurs!

Thanks a lot! The jar "mahout-1.0-collections.jar" was present in the class path. I've removed this jar and the job works without an error message. Best regards, butkiz!
Announcements