You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by zjffdu <gi...@git.apache.org> on 2017/10/10 02:27:51 UTC
[GitHub] zeppelin pull request #2613: ZEPPELIN-2982. Copy interpreter-setting.json to...
GitHub user zjffdu opened a pull request:
https://github.com/apache/zeppelin/pull/2613
ZEPPELIN-2982. Copy interpreter-setting.json to interpreter dir
### What is this PR for?
2 main changes.
* Introduce `interpreter-parent` module, so that all the interpreter can reuse the plugin defined in `interpreter-parent`
* Add new plugin for `copying interpreter-setting.json` to interpreter dir
### What type of PR is it?
[ Improvement | Refactoring]
### Todos
* [ ] - Task
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-2982
### How should this be tested?
* First time? Setup Travis CI as described on https://zeppelin.apache.org/contribution/contributions.html#continuous-integration
* Strongly recommended: add automated unit tests for any new or changed behavior
* Outline any manual steps to test the PR here.
### 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/zjffdu/zeppelin ZEPPELIN-2982
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2613.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 #2613
----
commit 38d6e2127f7fea308fbdd6a3a1a0b036aa1c2d44
Author: Jeff Zhang <zj...@apache.org>
Date: 2017-10-10T01:51:15Z
ZEPPELIN-2982. Copy interpreter-setting.json to interpreter dir
----
---
[GitHub] zeppelin issue #2613: ZEPPELIN-2982. Copy interpreter-setting.json to interp...
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the issue:
https://github.com/apache/zeppelin/pull/2613
Each release, interpreter jars are published in maven repository and `bin/install-interpreter.sh` lets user download and install interpreters. Is this change keeps capability to both publish and download interpreter jars?
---
[GitHub] zeppelin issue #2613: ZEPPELIN-2982. Copy interpreter-setting.json to interp...
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the issue:
https://github.com/apache/zeppelin/pull/2613
Ah, i see. I think i have confused between parent project and dependency.
---
[GitHub] zeppelin issue #2613: ZEPPELIN-2982. Copy interpreter-setting.json to interp...
Posted by zjffdu <gi...@git.apache.org>.
Github user zjffdu commented on the issue:
https://github.com/apache/zeppelin/pull/2613
will merge if no more discussion
---
[GitHub] zeppelin issue #2613: ZEPPELIN-2982. Copy interpreter-setting.json to interp...
Posted by zjffdu <gi...@git.apache.org>.
Github user zjffdu commented on the issue:
https://github.com/apache/zeppelin/pull/2613
@Leemoonsoo parent project must be pom type, but zeppelin-interpreter is jar. So I have to introduce module `interpreter-parent`. Interpreter dev guide is updated in the new commit.
---
[GitHub] zeppelin issue #2613: ZEPPELIN-2982. Copy interpreter-setting.json to interp...
Posted by zjffdu <gi...@git.apache.org>.
Github user zjffdu commented on the issue:
https://github.com/apache/zeppelin/pull/2613
Yes, it keeps capability. The interpreter is not changed. interpreter-setting.json is still packaged into interpreter jar, but copied to interpreter dir as well in this PR. And interpreter-setting.json under interpreter dir take precedence over that in interpreter jar. see https://github.com/apache/zeppelin/blob/master/zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterSettingManager.java#L263
---
[GitHub] zeppelin issue #2613: ZEPPELIN-2982. Copy interpreter-setting.json to interp...
Posted by Leemoonsoo <gi...@git.apache.org>.
Github user Leemoonsoo commented on the issue:
https://github.com/apache/zeppelin/pull/2613
I see. Could you also explain little bit about why you decided to make `interpreter-parent` module instead of just add copy plugin to existing common parents `zeppelin-interpreter` ?
This may require some additional update
- [Interpreter dev guide](https://github.com/apache/zeppelin/blob/master/docs/development/writing_zeppelin_interpreter.md#make-your-own-interpreter) - which parent module should use to create new interpreter
- [Interpreter list in Helium menu](https://github.com/apache/zeppelin/blob/gh-pages/helium_packages.md) - Interpreter's are collected using on dependency `zeppelin-interpreter`. (see https://github.com/apache/zeppelin/pull/2037)
---
[GitHub] zeppelin pull request #2613: ZEPPELIN-2982. Copy interpreter-setting.json to...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/zeppelin/pull/2613
---