mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucas Araujo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAHOUT-1889) Mahout doesn't work with Spark 2.0
Date Tue, 25 Oct 2016 19:38:58 GMT

    [ https://issues.apache.org/jira/browse/MAHOUT-1889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15606259#comment-15606259
] 

Lucas Araujo commented on MAHOUT-1889:
--------------------------------------

I would argue that this is not a bug because there is no guarantee that Mahout should work
with a version of Spark that it's not its current dependency. As is stated in the FAQ for
using Mahout with Spark - https://mahout.apache.org/users/sparkbindings/faq.html:

"If you are getting method signature like errors, most probably you have mismatch between
Mahout's Spark dependency and actual Spark installed."

The current mahout/pom.xml states that the dependency is Spark 1.6.2 (and not Spark 2.x),
and spark-shell works fine with the 1.6.2 version. So, this bug should either be closed or
be changed to a feature request or something.

> Mahout doesn't work with Spark 2.0
> ----------------------------------
>
>                 Key: MAHOUT-1889
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1889
>             Project: Mahout
>          Issue Type: Bug
>            Reporter: Sergey Svinarchuk
>
> In Spark 2.0 was changes path to libraries and classpath. If change classpath to correct
for Spark 2.0, all Spark job failed with java.lang.NoSuchMethodError: , because Spark API
was changed.
> Example for spark-shell:
> {code}
> ./bin/mahout spark-shell
> Exception in thread "main" java.lang.NoSuchMethodError: org.apache.spark.repl.SparkILoop.setPrompt(Ljava/lang/String;)V
> 	at org.apache.mahout.sparkbindings.shell.MahoutSparkILoop.<init>(MahoutSparkILoop.scala:58)
> 	at org.apache.mahout.sparkbindings.shell.Main$.main(Main.scala:32)
> 	at org.apache.mahout.sparkbindings.shell.Main.main(Main.scala)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message