Commit 4ef4e18
[ZEPPELIN-1991] Can't get the PARAGRAPH_APPEND_OUTPUT from the Interpreter.
### What is this PR for?
This PR fixes the problem of streaming events(PARAGRAPH_APPEND_OUTPUT).
It's because of the queue was not thread safe.
### What type of PR is it?
Bug Fix
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1991
### How should this be tested?
1. make a spark paragraph
2. run following code on spark paragraph.
```
%spark
(1 to 5).foreach{ i=>
Thread.sleep(1000)
println("Hello " + i)
}
```
3. make a python paragraph
4. run following code on python paragraph.
```
%python.python
print("hi1")
```
5. retry run step 2, and check if streaming working.
### Screenshots (if appropriate)
- before

- after

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no
Author: astroshim <[email protected]>
Closes #1922 from astroshim/ZEPPELIN-1991 and squashes the following commits:
e993585 [astroshim] make scheduler not static
66d3d2f [astroshim] fix to thread safe1 parent 1a1fbc4 commit 4ef4e18
File tree
1 file changed
+1
-1
lines changed- zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/remote
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments