GitHub user jongyoul opened a pull request:

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

    [ZEPPELIN-1099] Build and run Spark without spark-dependencies

    ### What is this PR for?
    When users use SPARK_HOME, they won't want to include spark-dependencies. 
This PR makes it possible and results reducing whole size of package.
    
    ### What type of PR is it?
    [Feature]
    
    ### Todos
    * [x] - Remove dependencies of spark-dependencies
    
    ### What is the Jira issue?
    * https://issues.apache.org/jira/browse/ZEPPELIN-1099
    
    ### How should this be tested?
    * Run `mvn clean package -DskipTests -pl '!spark-dependencies'`
    * Set SPARK_HOME in zeppelin-env.sh
    * Start Zeppelin
    * Run `sc.version` in a paragraph and check the version
    * Stop Zeppelin
    * Set SPARK_HOME in a different version
    * Start, check and stop
    
    I've tested it with 1.6.1 and 1.5.2.
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No

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

    $ git pull https://github.com/jongyoul/zeppelin ZEPPELIN-1099

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

    https://github.com/apache/zeppelin/pull/1115.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 #1115
    
----
commit 445dfab821c2680bf46fba13716a2688bc26f660
Author: Jongyoul Lee <jongy...@gmail.com>
Date:   2016-07-02T16:44:53Z

    Removed spark-dependencies from spark
    Added spark-{reple,hive} in spark/pom.xml
    Changed exception to throwable because of Error

----


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