Github user ilganeli commented on a diff in the pull request:
https://github.com/apache/spark/pull/5574#discussion_r28647113
--- Diff:
core/src/main/scala/org/apache/spark/serializer/KryoSerializer.scala ---
@@ -49,9 +49,9 @@ class KryoSerializer(conf: SparkConf)
with Logging
with Serializable {
- private val bufferSizeMb =
conf.getDouble("spark.kryoserializer.buffer.mb", 0.064)
+ private val bufferSizeMb =
conf.getSizeAsMb("spark.kryoserializer.buffer", "64k")
--- End diff --
Note - Intentionally converted to 64k here instead of 0.064m since I assume
this was the original intent and 0.064m does NOT equal 64k in general (mibi vs
megabytes)
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]