GitHub user cloverhearts reopened a pull request: https://github.com/apache/zeppelin/pull/1928
ZEPPELIN-598 ] Dynamic loading for Interpreter and API ### What is this PR for? Use of external libraries that are included in the Roadmap, The interpreter needs related to dynamic loading capabilities. ### What type of PR is it? Feature ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-598 ### How should this be tested? 1. Run to `mvn clean package -DskipTests` 2. Run to `mvn clean package -DskipTests -pl zeppelin-server --am` 3. run zeppelin. 4. move to interpreter menu on web ui. - check empty interpreter 5. call restapi ``` POST http://localhost:8080/api/interpreter/load/md/md {"artifact":"org.apache.zeppelin:zeppelin-markdown:0.6.2", "className":"org.apache.zeppelin.markdown.Markdown"} ``` 6. check interpreter menu to create interpreter `md` on web ui. 7. add interpreter setting `md` 8. run paragraph `md` ``` %md Hello markdown ``` 9. call unload restapi ``` DELETE http://localhost:8080/api/interpreter/unload/md2/md2/org.apache.zeppelin.markdown.Markdown ``` 10. check delete `md` on web ui 11. restart to paragraph for `md` if result is error status then well working. ### Screenshots (if appropriate) [Click to link for screenshot](https://cloud.githubusercontent.com/assets/10525473/22174189/1b2cce6c-df8d-11e6-975f-333a502079ea.gif) ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? we have had already. You can merge this pull request into a Git repository by running: $ git pull https://github.com/cloverhearts/zeppelin dynamic-load-interpreter Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1928.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 #1928 ---- commit 949ef81f21eb2d61441220143bcf8d558bed13a6 Author: cloverhearts <cloverhearts...@gmail.com> Date: 2017-01-21T11:43:11Z dynamic load interpreter rest api and interpreter factory logic commit 1a2a75ef2db7c3a0b59bdc27d4cf427273b54621 Author: cloverhearts <cloverhearts...@gmail.com> Date: 2017-01-21T11:55:31Z remove meaningless return key ---- --- 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. ---