-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
Fixed broken pyspark shell. #444
Conversation
Merged build triggered. |
Merged build started. |
Yep, I think python shell's document should be update same time. sys.version_info only became a named tuple in 2.7. To get this to work in 2.6, it needs to be accessed as a regular tuple:
see line 25. |
Can you submit a PR for that? |
Sure. I'll modify it. |
Actually never mind I will do it here. You can't just change that line without changing the indent anyway. |
ok pushed |
Yes, agree with you. |
Merged build triggered. |
Merged build started. |
Merged build finished. |
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/14229/ |
Merged build finished. |
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/14232/ |
Jenkins, retest this please. |
Merged build triggered. |
Merged build started. |
Ok I merged this since none of the tests will run this code path, and it is a hot fix. |
Author: Reynold Xin <rxin@apache.org> Closes #444 from rxin/pyspark and squashes the following commits: fc11356 [Reynold Xin] Made the PySpark shell version checking compatible with Python 2.6. 571830b [Reynold Xin] Fixed broken pyspark shell. (cherry picked from commit 81a152c) Signed-off-by: Reynold Xin <rxin@apache.org>
Merged build finished. All automated tests passed. |
All automated tests passed. |
Clarify that Python 2.7 is only needed for MLlib
Author: Reynold Xin <rxin@apache.org> Closes apache#444 from rxin/pyspark and squashes the following commits: fc11356 [Reynold Xin] Made the PySpark shell version checking compatible with Python 2.6. 571830b [Reynold Xin] Fixed broken pyspark shell.
Clarify that Python 2.7 is only needed for MLlib (cherry picked from commit 4f0c361) Signed-off-by: Patrick Wendell <pwendell@gmail.com>
* Use a list of environment variables for JVM options. * Fix merge conflicts.
Fixes issues apache#444 Signed-off-by: Melvin Hillsman <mrhillsman@gmail.com>
No description provided.