GitHub user tyro89 opened a pull request:
https://github.com/apache/spark/pull/10255
Make pyspark shell pythonstartup work under python3
This replaces the `execfile` used for running custom python shell scripts
with explicit open, compile and exec (as recommended by 2to3). The reason
for this change is to make the pythonstartup option compatible with python3.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tyro89/spark pythonstartup-python3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10255.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 #10255
----
commit 46975aa9c362ff7eaa8fcc667c618cfbaa81af6c
Author: Erik Selin <[email protected]>
Date: 2015-12-10T16:18:23Z
Make pyspark shell pythonstartup work under python3
This replaces the execfile used for running custom python shell scripts
with explicit open, compile and exec. The reason is to make the
pythonstartup option compatible with python3.
----
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]