Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-12160

spark.mllib should use SQLContext.getOrCreate

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1, 1.5.2, 1.6.0
    • Fix Version/s: 1.5.3, 1.6.0
    • Component/s: MLlib
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                josephkb Joseph K. Bradley
                Reporter:
                josephkb Joseph K. Bradley
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: