GitHub user davies opened a pull request: https://github.com/apache/spark/pull/1568
[SPARK-2652] [PySpark] Turning some default configs for PySpark Add several default configs for PySpark, related to serialization in JVM. spark.serializer = org.apache.spark.serializer.KryoSerializer spark.kryo.referenceTracking = False spark.serializer.objectStreamReset = 1 This will help to reduce the memory usage during RDD.partitionBy() You can merge this pull request into a Git repository by running: $ git pull https://github.com/davies/spark conf Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/1568.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1568 ---- commit c04a83dc311c5e073c8227665ac318647be9a0e4 Author: Davies Liu <davies....@gmail.com> Date: 2014-07-23T20:25:11Z some default configs for PySpark ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---