-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ZEPPELIN-3656] Fix for completion with Livy interpreter #3094
Conversation
Please add unit test |
@zjffdu I've added a test and it builds in Travis: https://travis-ci.org/alexjbush/zeppelin/builds/407942421 Seems like it's failing to check out the code in Jenkins. Is there some reason for this? Also, how can this be applied to master and 0.8.1? Will you do the merge to 0.8.1 after this is merged to master? |
@alexjbush Not sure what's wrong with jenkins. Maybe you can try it later. |
@zjffdu Yes, but can this fix go into both master and branch-0.8 branches? Who will do this cherry picking for branch-0.8? All checks are now passing too. |
Don't worry, I will do the cherry-pick |
### What is this PR for? Fix for NullPointerException when using code completion in the Livy Interpreter when Shared Interpreter is enabled. ### What type of PR is it? Bug Fix ### What is the Jira issue? [ZEPPELIN-3656](https://issues.apache.org/jira/browse/ZEPPELIN-3656) ### How should this be tested? Run Livy Interpreter in an environment where Shared Interpreter is enabled and attempt to trigger code completions. A unit test has been added to test the completion API when using a shared interpreter. Before applying the fix this test was failing with the same NPE. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Alex Bush <alex.bush@coxauto.co.uk> Closes #3094 from alexjbush/ZEPPELIN-3656 and squashes the following commits: 4f4a875 [Alex Bush] Correct completion test cd0c213 [Alex Bush] Force a failing test 71562e0 [Alex Bush] Test IT for Changes 32aa7c5 [Alex Bush] [ZEPPELIN-3656] Fix for completion with Livy interpreter (cherry picked from commit 8769d41) Signed-off-by: Jeff Zhang <zjffdu@apache.org>
### What is this PR for? Fix for NullPointerException when using code completion in the Livy Interpreter when Shared Interpreter is enabled. ### What type of PR is it? Bug Fix ### What is the Jira issue? [ZEPPELIN-3656](https://issues.apache.org/jira/browse/ZEPPELIN-3656) ### How should this be tested? Run Livy Interpreter in an environment where Shared Interpreter is enabled and attempt to trigger code completions. A unit test has been added to test the completion API when using a shared interpreter. Before applying the fix this test was failing with the same NPE. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Alex Bush <alex.bush@coxauto.co.uk> Closes apache#3094 from alexjbush/ZEPPELIN-3656 and squashes the following commits: 4f4a875 [Alex Bush] Correct completion test cd0c213 [Alex Bush] Force a failing test 71562e0 [Alex Bush] Test IT for Changes 32aa7c5 [Alex Bush] [ZEPPELIN-3656] Fix for completion with Livy interpreter
### What is this PR for? Fix for NullPointerException when using code completion in the Livy Interpreter when Shared Interpreter is enabled. ### What type of PR is it? Bug Fix ### What is the Jira issue? [ZEPPELIN-3656](https://issues.apache.org/jira/browse/ZEPPELIN-3656) ### How should this be tested? Run Livy Interpreter in an environment where Shared Interpreter is enabled and attempt to trigger code completions. A unit test has been added to test the completion API when using a shared interpreter. Before applying the fix this test was failing with the same NPE. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Alex Bush <alex.bush@coxauto.co.uk> Closes apache#3094 from alexjbush/ZEPPELIN-3656 and squashes the following commits: 4f4a875 [Alex Bush] Correct completion test cd0c213 [Alex Bush] Force a failing test 71562e0 [Alex Bush] Test IT for Changes 32aa7c5 [Alex Bush] [ZEPPELIN-3656] Fix for completion with Livy interpreter (cherry picked from commit 8769d41) Signed-off-by: Jeff Zhang <zjffdu@apache.org>
What is this PR for?
Fix for NullPointerException when using code completion in the Livy Interpreter when Shared Interpreter is enabled.
What type of PR is it?
Bug Fix
What is the Jira issue?
ZEPPELIN-3656
How should this be tested?
Run Livy Interpreter in an environment where Shared Interpreter is enabled and attempt to trigger code completions.
A unit test has been added to test the completion API when using a shared interpreter. Before applying the fix this test was failing with the same NPE.
Screenshots (if appropriate)
Questions: