GitHub user davies opened a pull request:
https://github.com/apache/spark/pull/2144
[SPARK-3094] [PySpark] compatitable with PyPy
After this patch, we can run PySpark in PyPy (testing with PyPy 2.3.1 in
Mac 10.9), for example:
```
PYSPARK_PYTHON=pypy ./bin/spark-submit wordcount.py
```
The performance speed up will depend on work load (from 20% to 3000%). Here
are some benchmarks:
Job | CPython 2.7 | PyPy 2.3.1 | Speed up
-------|------------ | ------------- |
Word Count | 41s | 15s | 2.7x
Stats | 21s | 0.7s | 30x
Sort | 55s | 44s | 1.25x
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/davies/spark pypy
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2144.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 #2144
----
commit 25b4ca7944554139fd886f351630392bad8d9b1c
Author: Davies Liu <[email protected]>
Date: 2014-08-26T01:48:02Z
support PyPy
----
---
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]