GitHub user y-shimizu opened a pull request: https://github.com/apache/spark/pull/7321
[SPARK-8870][MLlib]Use SQLContext.getOrCreate in model save/load I replace `new SQLContext(sc)` to `SQLContext.getOrCreate` in mllib main. but I don't modify all tests, because each test case expect fresh SQLContext. You can merge this pull request into a Git repository by running: $ git pull https://github.com/y-shimizu/spark SPARK-8870 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/7321.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #7321 ---- commit d5fe5b784dfd433f073f552fe2167037d650ed8a Author: y-shimizu <y.shimizu0...@gmail.com> Date: 2015-07-09T11:41:34Z replace "new SQLContext(sc)" to "SQLContext.getOrCreate(sc)" in mllib ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org