[
https://issues.apache.org/jira/browse/SPARK-8870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14620382#comment-14620382
]
Apache Spark commented on SPARK-8870:
-------------------------------------
User 'y-shimizu' has created a pull request for this issue:
https://github.com/apache/spark/pull/7321
> Use SQLContext.getOrCreate in model save/load
> ---------------------------------------------
>
> Key: SPARK-8870
> URL: https://issues.apache.org/jira/browse/SPARK-8870
> Project: Spark
> Issue Type: Improvement
> Components: MLlib
> Affects Versions: 1.4.0
> Reporter: Xiangrui Meng
> Priority: Minor
> Labels: starter
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]