GitHub user jongyoul opened a pull request:

    https://github.com/apache/incubator-zeppelin/pull/835

    ZEPPELIN-804 Refactoring registration mechanism on Interpreters

    ### What is this PR for?
    This PR enable Zeppelin server register Interpreters without any 
dependencies of their own. For instance, we should build `spark` with 
`spark-dependencies` even we use our own Spark cluster because current 
initialisation mechanism needs to all of its dependencies.
    
    ### What type of PR is it?
    [Improvement]
    
    ### Todos
    * [x] - Add RegisteredInterpreter from interpreter-setting.json in a jar or 
interpreter/{interpreter}/interpreter-setting.json
    * [ ] - Adjust it to Spark*Interpreter 
    
    ### What is the Jira issue?
    * https://issues.apache.org/jira/browse/ZEPPELIN-804
    
    ### How should this be tested?
    1. Prepare your own spark cluster - e.g. standalone, Yarn, Mesos -
    1. rm -rf interpreter
    1. mvn clean package -DskipTests -pl 
'zeppelin-display,zeppelin-interpreter,zeppelin-server,zeppelin-web,zeppelin-zengine,angular,jdbc,spark'
    1. bin/zeppelin-daemon.sh start
    1. Check error in log
    1. apply patch
    1. mvn clean package -DskipTests -pl 
'zeppelin-display,zeppelin-interpreter,zeppelin-server,zeppelin-web,zeppelin-zengine,angular,jdbc,spark'
    1. bin/zeppelin-daemon.sh start
    1. run some paragraph with simple command like `sc.version`
    
    ### 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/incubator-zeppelin ZEPPELIN-804

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

    https://github.com/apache/incubator-zeppelin/pull/835.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 #835
    
----
commit f042acd27c5532728a68bd25e9cef5768165e8b1
Author: Jongyoul Lee <jongy...@gmail.com>
Date:   2016-04-14T03:03:26Z

    ZEPPELIN-804 Refactoring registration mechanism on Interpreters
    - Added a new initialization mechanism to use interpreter-setting.json
    - Adjusted new mechanism to SparkInterpreter for verification

----


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