You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Trevor Grant (JIRA)" <ji...@apache.org> on 2017/02/02 02:55:52 UTC
[jira] [Comment Edited] (MAHOUT-1894) Add support for Spark 2x
backend
[ https://issues.apache.org/jira/browse/MAHOUT-1894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15849309#comment-15849309 ]
Trevor Grant edited comment on MAHOUT-1894 at 2/2/17 2:55 AM:
--------------------------------------------------------------
When building Mahout against spark 2.0.2 I get one warning
```
[WARNING] /home/rawkintrevo/gits/mahout-local/spark/src/test/scala/org/apache/mahout/sparkbindings/drm/DrmLikeSuite.scala:127: warning: constructor SQLContext in class SQLContext is deprecated: Use SparkSession.builder instead
[WARNING] val sqlContext= new org.apache.spark.sql.SQLContext(sc)
```
And then in the tests a lot of whining about
```
Exception encountered when invoking run on a nested suite - requirement failed: MAHOUT_HOME is required to spawn mahout-based spark jobs *** ABORTED ***
java.lang.IllegalArgumentException: requirement failed: MAHOUT_HOME is required to spawn mahout-based spark jobs
```
Hard to say for sure because I had to skip the tests re: above issue, but if you DskipTests, mahout compiles up until the shell. Taking the resulting jars to zeppelin and running some basic funtions checks like linear regression- it seems to work.
was (Author: rawkintrevo):
When building Mahout against spark 2.0.2 I get one warning
```
[WARNING] /home/rawkintrevo/gits/mahout-local/spark/src/test/scala/org/apache/mahout/sparkbindings/drm/DrmLikeSuite.scala:127: warning: constructor SQLContext in class SQLContext is deprecated: Use SparkSession.builder instead
[WARNING] val sqlContext= new org.apache.spark.sql.SQLContext(sc)
```
And then in the tests a lot of whining about
```
Exception encountered when invoking run on a nested suite - requirement failed: MAHOUT_HOME is required to spawn mahout-based spark jobs *** ABORTED ***
java.lang.IllegalArgumentException: requirement failed: MAHOUT_HOME is required to spawn mahout-based spark jobs
```
Hard to say for sure because I had to skip the tests re: above issue, but if you `-DskipTests`, mahout compiles up until the shell. Taking the resulting jars to zeppelin and running some basic funtions checks like linear regression- it seems to work.
> Add support for Spark 2x backend
> --------------------------------
>
> Key: MAHOUT-1894
> URL: https://issues.apache.org/jira/browse/MAHOUT-1894
> Project: Mahout
> Issue Type: Task
> Components: spark
> Affects Versions: 0.13.0
> Reporter: Suneel Marthi
> Priority: Critical
> Fix For: 1.0.0, 0.13.0, 0.14.0
>
>
> add support for Spark 2.x as backend execution engine.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)