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

spark.mllib should use SQLContext.getOrCreate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.1, 1.5.2, 1.6.0
    • 1.5.3, 1.6.0
    • MLlib
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: