GitHub user gbloisi opened a pull request:

    https://github.com/apache/zeppelin/pull/1349

    Add spark dependency jars in driver classpath also in spark-submit mode

    ### What is this PR for?
    This commit adds spark dependency jars into the driver classpath of 
spark-submit. It is needed to let driver app find classes distributed along 
with spark, such as classes required for hive support.
    
    
    ### What type of PR is it?
    [Bug Fix]
    
    ### How should this be tested?
    When SPARK_HOME is set, zeppelin.spark.useHiveContext is set to true 
(default), and hive-site.xml is present in the conf dir Spark is expected to 
use the hive catalog as described in the hive-site.xml.
    Without this commit spark is configured to use always the in-memory 
catalog, because it does not find hive support classes so it defaults to in 
memory embedded hive catalog.
    
    


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

    $ git pull https://github.com/gbloisi/zeppelin sparksubmitWithDependencyJars

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

    https://github.com/apache/zeppelin/pull/1349.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 #1349
    
----
commit c4f140008e3af13515e51c66c2380ad2da3c9362
Author: Giambattista Bloisi <gblo...@gmail.com>
Date:   2016-08-19T23:05:36Z

    Add spark dependency jars in driver classpath also in spark-submit mode

----


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

Reply via email to