Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-10684

StructType.interpretedOrdering need not to be serialized

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1, 1.6.0
    • SQL
    • None

    Description

      Kryo fails with buffer overflow even with max value (2G).

      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)
      

      Attachments

        Activity

          People

            navis Navis Ryu
            navis Navis Ryu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: