mahout-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor Grant (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAHOUT-2005) In Spark 2, use SparkSession.builder instead of SQLContext
Date Fri, 14 Jul 2017 22:24:00 GMT
Trevor Grant created MAHOUT-2005:
------------------------------------

             Summary: In Spark 2, use SparkSession.builder instead of SQLContext
                 Key: MAHOUT-2005
                 URL: https://issues.apache.org/jira/browse/MAHOUT-2005
             Project: Mahout
          Issue Type: Bug
            Reporter: Trevor Grant


When compiling on Spark 2+

`/mahout/spark/src/test/scala/org/apache/mahout/sparkbindings/drm/DrmLikeSuite.scala:128:
warning: constructor SQLContext in class SQLContext is deprecated: Use SparkSession.builder
instead
[WARNING]     val sqlContext= new org.apache.spark.sql.SQLContext(sc)
[WARNING]                     ^`



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message