Skip to content
Snippets Groups Projects
Commit c3738667 authored by Icaro Medeiros's avatar Icaro Medeiros Committed by Sean Owen
Browse files

[PYTHON] Fixed typo in exception message

Just fixing a typo in exception message, raised when attempting to pickle SparkContext.

Author: Icaro Medeiros <icaro.medeiros@gmail.com>

Closes #8724 from icaromedeiros/master.
parent b231ab89
No related branches found
No related tags found
No related merge requests found
......@@ -255,7 +255,7 @@ class SparkContext(object):
# This method is called when attempting to pickle SparkContext, which is always an error:
raise Exception(
"It appears that you are attempting to reference SparkContext from a broadcast "
"variable, action, or transforamtion. SparkContext can only be used on the driver, "
"variable, action, or transformation. SparkContext can only be used on the driver, "
"not in code that it run on workers. For more information, see SPARK-5063."
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment