GitHub user zjffdu opened a pull request:
https://github.com/apache/zeppelin/pull/2919
ZEPPELIN-3375: Make PySparkInterpreter extends PythonInterpreter
### What is this PR for?
This PR is trying the remove the code duplication between
PySparkInterpreter and PythonInterpreter. So here's the main things this PR did:
* PySparkInterpreter extends PythonInterpreter
* PySparkInterpreterTest extends PythonInterpreterTest so that we can
verify PySparkInterpreter can do whatever PythonInterpreter can do
* Move interpreter/lib/python/backend_zinline.py and
interpreter/lib/python/mpl_config.py into python module, so that python module
can ship these resources together.
### What type of PR is it?
[ Improvement | Refactoring]
### Todos
* [ ] - Task
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-3375
### How should this be tested?
* CI pass
### Screenshots (if appropriate)
### 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/zjffdu/zeppelin ZEPPELIN-3375
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2919.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 #2919
commit 5fc7e851f0d0281fefdff8906fa0717ea0d7943a
Author: Jeff Zhang
Date: 2018-04-01T13:26:28Z
ZEPPELIN-3375. Make PySparkInterpreter extends PythonInterpreter
commit 914a777496dd94d3409332ac4f6fb3d352250c6c
Author: Jeff Zhang
Date: 2018-04-10T07:50:56Z
save
commit 900e6f3cb1c7663b656f18d126c952767ede0211
Author: Jeff Zhang
Date: 2018-04-10T09:14:30Z
save2
---