mahout-dev mailing list archives

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


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 -

"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:
>             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<init>(MahoutSparkILoop.scala:58)
> 	at$.main(Main.scala:32)
> 	at
> {code}

This message was sent by Atlassian JIRA

View raw message