Github user BryanCutler commented on the issue:
https://github.com/apache/spark/pull/14303
@eastlondoner , the import error you show indicates that `accumulators` has
already been imported. I was able to run the steps in your reproduction
without error, but I did accidentally get the error one time when I forgot to
add the py4j to the sys path and the `context` module was partially loaded with
`accumulators`, so when I called 'import pyspark' again, I got the same import
error as you.
Can you verify that there were no previous import attempts when you receive
this error?
---
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]