GitHub user navis opened a pull request:

    https://github.com/apache/spark/pull/8808

    [SPARK-10684] [SQL] StructType.interpretedOrdering need not to be serialized

    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}

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/navis/spark SPARK-10684

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/8808.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 #8808
    
----
commit a26512b12339a5f82d7c55c6107a1fe5e50ac43d
Author: navis.ryu <na...@apache.org>
Date:   2015-09-18T02:11:46Z

    [SPARK-10684] [SQL] StructType.interpretedOrdering need not to be serialized

----


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to