GitHub user wangyum opened a pull request:

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

    [SPARK-20337][CORE] Support upgrade a jar dependency and don't restart 
SparkContext

    ## What changes were proposed in this pull request?
    
    Support upgrade a jar dependency and don't restart `SparkContext`, 
Something like this:
    ```
    sc.addJar("breeze-natives_2.11-0.12.jar")
    // do something
    
sc.removeJar("spark://192.168.26.200:23420/jar/breeze-natives_2.11-0.12.jar")
    sc.addJar("breeze-natives_2.11-0.13.jar")
    // do something
    ```
    
    ## How was this patch tested?
    unit tests and  manual tests

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

    $ git pull https://github.com/wangyum/spark SPARK-20337

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

    https://github.com/apache/spark/pull/17637.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 #17637
    
----
commit eb4cb8653565fcb66d7c7222cc7b765383bfce45
Author: Yuming Wang <wgy...@gmail.com>
Date:   2017-04-14T10:04:25Z

    Support sc.removeJar

----


---
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

Reply via email to