GitHub user nezihyigitbasi opened a pull request:

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

    [SPARK-15782] [CORE] Set spark.jars system property in client mode

    ## What changes were proposed in this pull request?
    
    When `--packages` is specified with `spark-shell` the classes from those 
packages cannot be found, which I think is due to some of the changes in 
`SPARK-12343`. In particular `SPARK-12343` removes a line that sets the 
`spark.jars` system property in client mode, which is used by the repl main 
class to set the classpath.
    
    
    ## How was this patch tested?
    
    Tested manually.
    
    This system property is used by the repl to populate its classpath. If
    this is not set properly the classes for external packages cannot be
    found.
    
    @tgravescs @vanzin as you may be familiar with this part of the code.

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

    $ git pull https://github.com/nezihyigitbasi/spark repl-fix

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

    https://github.com/apache/spark/pull/13527.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 #13527
    
----
commit 0894840409713130129291d11847132f6d5f97e3
Author: Nezih Yigitbasi <nyigitb...@netflix.com>
Date:   2016-06-06T16:49:37Z

    Set spark.jars system property in client mode
    
    This system property is used by the repl to populate its classpath. If
    this is not set properly the classes for external packages cannot be
    found.

----


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