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

Use SQLContext.getOrCreate in model save/load

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 1.4.0
    • None
    • MLlib

    Description

      In many model save/load code, we use `new SQLContext(sc)` to create a SQLContext. This could be replace by `SQLContext.getOrCreate(sc)` to reuse an existing context.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mengxr Xiangrui Meng
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified