GitHub user zjffdu opened a pull request:
https://github.com/apache/zeppelin/pull/1260
ZEPPELIN-1267. PySparkInterpreter doesn't work in spark 2.0
### What is this PR for?
PySparkInterpreter doesn't work in spark 2.0 because pyspark and py4j is
not distributed to executors. This PR extract the setup staff for pyspark
interpreter into method setupConfForPySpark and use it for both spark1 and
spark2. But this is just a short term solution, as I think this should be
handled by spark rather than zeppelin, here zeppelin duplicate part of spark's
work. In the long term, I'd like to resolve it in `ZEPPELIN-1263`.
### What type of PR is it?
[Bug Fix]
### Todos
* https://issues.apache.org/jira/browse/ZEPPELIN-1263
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-1267
### How should this be tested?
Verify it manually.
### 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-1267
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1260.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 #1260
----
commit 81d1d56c94934dd6c4b32144d810626356ce3c0e
Author: Jeff Zhang <[email protected]>
Date: 2016-08-02T09:41:21Z
ZEPPELIN-1267. PySparkInterpreter doesn't work in spark 2.0
----
---
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.
---