GitHub user falaki opened a pull request:

    https://github.com/apache/spark/pull/17423

    [SPARK-20088] Do not create new SparkContext in SparkR createSparkContext

    ## What changes were proposed in this pull request?
    Instead of creating new `JavaSparkContext` we use 
`SparkContext.getOrCreate`.
    
    ## How was this patch tested?
    Existing tests

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/falaki/spark SPARK-20088

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/17423.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 #17423
    
----
commit f07e3a945c3a3eecd448a8525b86542e999a2f8a
Author: Hossein <[email protected]>
Date:   2017-03-25T00:32:27Z

    using getOrCreate method SparkContext

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to