Skip to content

Commit 11798d0

Browse files
committed
[BRANCH-1.1][SPARK-2652] change the default spark.serializer in pyspark back to Kryo
This reverts #2916 . We shouldn't change the default settings in a minor release. JoshRosen davies Author: Xiangrui Meng <[email protected]> Closes #3187 from mengxr/SPARK-2652-1.1 and squashes the following commits: 372166b [Xiangrui Meng] change the default spark.serializer in pyspark back to Kryo
1 parent d313be8 commit 11798d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/pyspark/context.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
# These are special default configs for PySpark, they will overwrite
4141
# the default ones for Spark if they are not configured by user.
4242
DEFAULT_CONFIGS = {
43+
"spark.serializer": "org.apache.spark.serializer.KryoSerializer",
4344
"spark.serializer.objectStreamReset": 100,
4445
"spark.rdd.compress": True,
4546
}

0 commit comments

Comments
 (0)