GitHub user cloverhearts opened a pull request:
https://github.com/apache/zeppelin/pull/1637
[ZEPPELIN-1665] Z.run with external note executable and access resource for
zeppelin in each interpreter
### What is this PR for?
Currently, the z.run command is restricted.
Only paragraphs in a single note can be executed.
I have modified this to allow you to freely execute paragraphs of other
notes.
This PR provides the basis for the freeful use of Zeppelin's resources at
each Interpreter implementation.
### What type of PR is it?
Improvement, Feature
### Todos
- [x] extends z.run
- [ ] run all paragraph in external note
- [x] run paragraph for external note.
- [x] get resource for zeppelin in each interpreter.
- [ ] improve test case.
- [ ] how to use docuement
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1665
### How should this be tested?
Currently under development.
run paragraph in same note
```
%spark
z.run("paragraphID")
```
run paragraph with external note
```
z.run("noteid", "paragraphid");
```
### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? yes
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloverhearts/zeppelin
extends-zrun-remote-transaction
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1637.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 #1637
----
commit 6e1f219993d4d98f27cdba697b69a0a641f116f6
Author: CloverHearts <[email protected]>
Date: 2016-11-11T03:14:12Z
code base workflow for remote zeppelin server control default thrift
transaction.
commit 0570ae804b8c39e0b2e74c23ad13c57ee4c5a213
Author: CloverHearts <[email protected]>
Date: 2016-11-14T12:22:51Z
add remote works controller class and include interpreter factory
commit 25232387d1693ecbaed9af98aada09bdd6b92e7b
Author: CloverHearts <[email protected]>
Date: 2016-11-14T14:46:26Z
Implement eventForWait class
commit 3d34f9e0bb1d88304feafa37b0a69b1601854698
Author: CloverHearts <[email protected]>
Date: 2016-11-15T10:49:51Z
Implement getParagraphRunner transaction.
commit 3ed556c50d858495df11065275642699c4f0a435
Author: CloverHearts <[email protected]>
Date: 2016-11-15T11:02:43Z
remove debug console message.
commit afb9db746593fc0aff5f2b9beb77373e69d45d66
Author: CloverHearts <[email protected]>
Date: 2016-11-15T11:04:39Z
Merge branch 'master' into workflow
# Conflicts:
# spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java
commit 5a7886fd82d9dd06e1c0a39cd11f37128a9e5d46
Author: CloverHearts <[email protected]>
Date: 2016-11-15T11:47:38Z
fix sio support
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---