aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2016-11-01 16:23:47 -0700
committerReynold Xin <rxin@databricks.com>2016-11-01 16:23:47 -0700
commit6e6298154aba63831a292117797798131a646869 (patch)
tree83851dd672c106050ad78f521e0b22807ad1b15c /python
parent01dd0083011741c2bbe5ae1d2a25f2c9a1302b76 (diff)
downloadspark-6e6298154aba63831a292117797798131a646869.tar.gz
spark-6e6298154aba63831a292117797798131a646869.tar.bz2
spark-6e6298154aba63831a292117797798131a646869.zip
[SPARK-17350][SQL] Disable default use of KryoSerializer in Thrift Server
In SPARK-4761 / #3621 (December 2014) we enabled Kryo serialization by default in the Spark Thrift Server. However, I don't think that the original rationale for doing this still holds now that most Spark SQL serialization is now performed via encoders and our UnsafeRow format. In addition, the use of Kryo as the default serializer can introduce performance problems because the creation of new KryoSerializer instances is expensive and we haven't performed instance-reuse optimizations in several code paths (including DirectTaskResult deserialization). Given all of this, I propose to revert back to using JavaSerializer as the default serializer in the Thrift Server. /cc liancheng Author: Josh Rosen <joshrosen@databricks.com> Closes #14906 from JoshRosen/disable-kryo-in-thriftserver.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions