You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2015/12/06 00:54:10 UTC

[jira] [Created] (SPARK-12160) spark.mllib should use SQLContext.getOrCreate

Joseph K. Bradley created SPARK-12160:
-----------------------------------------

             Summary: spark.mllib should use SQLContext.getOrCreate
                 Key: SPARK-12160
                 URL: https://issues.apache.org/jira/browse/SPARK-12160
             Project: Spark
          Issue Type: Bug
          Components: MLlib
    Affects Versions: 1.5.2, 1.4.1, 1.6.0
            Reporter: Joseph K. Bradley


spark.mllib currently uses {{new SQLContext(...)}} in several places, especially the model save/load methods.  It should use SQLContext.getOrCreate, which was introduced in Spark 1.4.

This can cause some problems, depending on how the user/system manages contexts.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org