[
https://issues.apache.org/jira/browse/MAHOUT-1889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15606259#comment-15606259
]
Lucas Araujo edited comment on MAHOUT-1889 at 10/26/16 1:13 PM:
----------------------------------------------------------------
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.
was (Author: laou.mh):
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)