GitHub user bzz opened a pull request:
https://github.com/apache/zeppelin/pull/1033
Python: fix for 'run all' paragraphs
### What is this PR for?
Switch to FIFO scheduler as in current implementation `.interpret()` is not
thread-safe and so in parallel one 'Run All' fails some paragraphs with NPE in
logs
### What type of PR is it?
Bug Fix | Improvement
### How should this be tested?
'Run All' passes without NPE in logs i.e on this [Zeppelin notebook for
python](https://www.zeppelinhub.com/viewer/notebooks/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL2J6ei9pbmN1YmF0b3ItemVwcGVsaW4vMTkyZjU3YjZjMGZkMjc4NzgwZDI3NDAzMGY1YmJlOTZlZThkNzdiYi9ub3RlYm9vay8yQlFBMzVDSlovbm90ZS5qc29u)
### 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/bzz/incubator-zeppelin fix/python-run-all
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1033.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 #1033
----
commit 72e9d62406b8525ac81deef7a04165be03441e02
Author: Alexander Bezzubov <[email protected]>
Date: 2016-06-17T04:59:50Z
Python: switch to FIFO scheduler
In current implementation `.interpret()` is not thread-safe and so in
parallel one (esp on empty or graph paragraphs) 'Run All' fails with NPE in
logs
----
---
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.
---