diff options
author | Icaro Medeiros <icaro.medeiros@gmail.com> | 2015-09-11 21:46:52 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-09-11 21:46:52 +0100 |
commit | c373866774c082885a50daaf7c83f3a14b0cd714 (patch) | |
tree | 1973015c39e112ab5e51505f852426eb14a05022 /python | |
parent | b231ab8938ae3c4fc2089cfc69c0d8164807d533 (diff) | |
download | spark-c373866774c082885a50daaf7c83f3a14b0cd714.tar.gz spark-c373866774c082885a50daaf7c83f3a14b0cd714.tar.bz2 spark-c373866774c082885a50daaf7c83f3a14b0cd714.zip |
[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.
Diffstat (limited to 'python')
-rw-r--r-- | python/pyspark/context.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/context.py b/python/pyspark/context.py index 1b2a52ad64..a0a1ccbeef 100644 --- a/python/pyspark/context.py +++ b/python/pyspark/context.py @@ -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." ) |