You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by mebelousov <gi...@git.apache.org> on 2018/03/27 18:17:36 UTC
[GitHub] zeppelin pull request #2896: ZEPPELIN-3347. Fix "PYTHONPATH" for spark.pyspa...
GitHub user mebelousov opened a pull request:
https://github.com/apache/zeppelin/pull/2896
ZEPPELIN-3347. Fix "PYTHONPATH" for spark.pyspark
### What is this PR for?
Use system PYTHONPATH in spark.pyspark interpreter, if PYTHONPATH already exists in environment variables.
### What type of PR is it?
[Bug Fix]
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-3347
### How should this be tested?
* Add some directories to PYTHONPATH
`export PYTHONPATH="/opt/python/dir1:/opt/python/dir2:$PYTHONPATH"`
* Build branch "ZEPPELIN-3347"
* Run in %spark.pyspark
```
import sys
print('\n'.join(sys.path))
```
* Check that the directories are in the output list.
Compare with the result in %python.
### 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/TinkoffCreditSystems/zeppelin ZEPPELIN-3347
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2896.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 #2896
----
commit 4dbb5718f189823d707853389614ad14e023ee64
Author: mebelousov <me...@...>
Date: 2018-03-27T12:09:39Z
ZEPPELIN-3347 Fix "PYTHONPATH" if it already exists in env.
----
---
[GitHub] zeppelin issue #2896: ZEPPELIN-3347. Fix "PYTHONPATH" for spark.pyspark
Posted by mebelousov <gi...@git.apache.org>.
Github user mebelousov commented on the issue:
https://github.com/apache/zeppelin/pull/2896
@zjffdu has closed this issue in #2901
---
[GitHub] zeppelin pull request #2896: ZEPPELIN-3347. Fix "PYTHONPATH" for spark.pyspa...
Posted by mebelousov <gi...@git.apache.org>.
Github user mebelousov closed the pull request at:
https://github.com/apache/zeppelin/pull/2896
---