Skip to content

Conversation

@bzz
Copy link
Member

@bzz bzz commented Jun 17, 2016

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

Questions:

  • Does the licenses files need update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

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
@felixcheung
Copy link
Member

LGTM

1 similar comment
@minahlee
Copy link
Member

LGTM

@bzz
Copy link
Member Author

bzz commented Jun 20, 2016

CI failed due to networking issues

INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Connection reset
Jun 17, 2016 6:10:43 AM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443

Merging in master and branch-0.6 if there is no further discussion

@asfgit asfgit closed this in 85ee2dd Jun 20, 2016
asfgit pushed a commit that referenced this pull request Jun 20, 2016
### 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

Author: Alexander Bezzubov <bzz@apache.org>

Closes #1033 from bzz/fix/python-run-all and squashes the following commits:

72e9d62 [Alexander Bezzubov] Python: switch to FIFO scheduler

(cherry picked from commit 85ee2dd)
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants