[
https://issues.apache.org/jira/browse/SPARK-10684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14804857#comment-14804857
]
Apache Spark commented on SPARK-10684:
--------------------------------------
User 'navis' has created a pull request for this issue:
https://github.com/apache/spark/pull/8808
> StructType.interpretedOrdering need not to be serialized
> --------------------------------------------------------
>
> Key: SPARK-10684
> URL: https://issues.apache.org/jira/browse/SPARK-10684
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 1.5.0
> Reporter: Navis
> Priority: Minor
>
> Kryo fails with buffer overflow even with max value (2G).
> {noformat}
> org.apache.spark.SparkException: Kryo serialization failed: Buffer overflow.
> Available: 0, required: 1
> Serialization trace:
> containsChild (org.apache.spark.sql.catalyst.expressions.BoundReference)
> child (org.apache.spark.sql.catalyst.expressions.SortOrder)
> array (scala.collection.mutable.ArraySeq)
> ordering (org.apache.spark.sql.catalyst.expressions.InterpretedOrdering)
> interpretedOrdering (org.apache.spark.sql.types.StructType)
> schema (org.apache.spark.sql.catalyst.expressions.GenericRowWithSchema). To
> avoid this, increase spark.kryoserializer.buffer.max value.
> at
> org.apache.spark.serializer.KryoSerializerInstance.serialize(KryoSerializer.scala:263)
> at
> org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:240)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]