GitHub user JoshRosen opened a pull request:
https://github.com/apache/spark/pull/1605
[SPARK-2601] [PySpark] Fix Py4J error when transforming pickleFiles
Similar to SPARK-1034, the problem was that Py4J didnât cope well with
the fake ClassTags used in the Java API. It doesnât look like thereâs any
reason why PythonRDD needs to take a ClassTag, since it just ignores the type
of the previous RDD, so I removed the type parameter and we no longer pass
ClassTags from Python.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/JoshRosen/spark spark-2601
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/1605.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 #1605
----
commit b68e118ad1cf5237a3e63a146fdc55ac8c7d59cf
Author: Josh Rosen <[email protected]>
Date: 2014-07-26T22:31:03Z
Fix Py4J error when transforming pickleFiles [SPARK-2601]
Similar to SPARK-1034, the problem was that Py4J didnât cope well with
the fake ClassTags used in the Java API. It doesnât look like thereâs
any reason why PythonRDD needs to take a ClassTag, since it just ignores
the type of the previous RDD, so I removed the type parameter and we
no longer need to pass ClassTags from Python.
----
---
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.
---