Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

If running a Mahout DistributedLanczosSolver Job an IncompatibleClassChangeError occurs!

avatar
Contributor

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

 

 

1 ACCEPTED SOLUTION

avatar
Master Collaborator

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?

View solution in original post

2 REPLIES 2

avatar
Master Collaborator

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?

avatar
Contributor
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!