GitHub user davies opened a pull request:
https://github.com/apache/spark/pull/2365
[SPARK-2951] support unpickle array.array for Python 2.6
Pyrolite can not unpickle array.array which pickled by Python 2.6, this
patch fix it by extend Pyrolite.
There is a bug in Pyrolite when unpickle array of float/double, this patch
workaround it by reverse the endianness for float/double. This workaround
should be removed after Pyrolite have a new release to fix this issue.
I had send an PR to Pyrolite to fix it:
https://github.com/irmen/Pyrolite/pull/11
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/davies/spark pickle
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2365.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 #2365
----
commit 60e4e2f8e0897555af6e657967bd39c150fc4726
Author: Davies Liu <[email protected]>
Date: 2014-09-11T23:43:24Z
support unpickle array.array for Python 2.6
----
---
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]