Description
It can be difficult to debug PySpark's "Cannot run multiple SparkContexts at once" error message if you're not sure where the first context is being created; it would be helpful if the SparkContext class remembered the linenumber/location where the active context was created and printed it in the error message.
Attachments
Issue Links
- relates to
-
SPARK-991 Report call sites of operators in Python
- Resolved
- links to