Lee moon soo created ZEPPELIN-546:
-------------------------------------

             Summary: Load interpreter from maven repository
                 Key: ZEPPELIN-546
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-546
             Project: Zeppelin
          Issue Type: Sub-task
            Reporter: Lee moon soo
             Fix For: 0.6.0


Zeppelin loads interpreter binaries (jar) from 
{{/interpreter/\[INTERPRETER_NAME]}} directory and configured by 
{{zeppelin.interpreters}} property or {{ZEPPELIN_INTERPRETERS}} env variable.
They're loaded when Zeppelin is starting up.

We can make REST API that loads interpreter binaries from maven repository and 
configure it on runtime.

It gives two major advantages.

* We can reduce Zeppelin binary package distribution by releasing interpreter 
as maven artifact and let user load them online, on runtime. Instead of 
packaging all dependencies in a distribution.
* Using 3rd party library is much easier.


REST api would look like

Load
{code}
/interpreter/load/[interpreter group name]/[interpreter name]
params:
   artifact - maven artifact (groupId:artifactId:version)
   className - Interpreter class
   repository (optional) - additional maven repository address
{code}

Unload
{code}
/interpreter/unload/[interpreter group name]/[interpreter name]
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to