Github user JoshRosen commented on the pull request:
https://github.com/apache/spark/pull/1623#issuecomment-50953161
Did you run that exact file with PySpark? The important bits are that
namedtuple is imported and an instance is created before any PySpark imports,
and we launch a job that tries to serialize a namedtuple in its function
closure, and this serialization takes place before the hack is registered
(hence my use of text file instead of parallelize).
> On Aug 1, 2014, at 8:45 PM, Davies Liu <[email protected]> wrote:
>
> It works in my Mac, have you apply the patch? It should be registerd
before dumps.
>
> â
> Reply to this email directly or view it on GitHub.
---
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.
---