Top "Kryo" questions

Kryo is a fast and efficient object graph serialization framework for Java.

Customize SparkContext using sparkConf.set(..) when using spark-shell

In Spark, there are 3 primary ways to specify the options for the SparkConf used to create the SparkContext: As properties …

scala apache-spark serialization kryo
How Kryo serializer allocates buffer in Spark

Please help to understand how Kryo serializer allocates memory for its buffer. My Spark app fails on a collect step …

apache-spark pyspark kryo
Kryo serialization library: is it used in production?

Kryo is a very new and interesting Java serialization library, and one of the fastest in the thrift-protobuf benchmark. If …

java serialization kryo
Require kryo serialization in Spark (Scala)

I have kryo serialization turned on with this: conf.set( "spark.serializer", "org.apache.spark.serializer.KryoSerializer" ) I want to …

apache-spark kryo
How can I use Kryo to serialize an object and deserialize it again?

How can I use Kryo to serialize an object and deserialize it again? I am working in Kryo 2.23.0

java serialization kryo
When to use Kryo serialization in Spark?

I am already compressing RDDs using conf.set("spark.rdd.compress","true") and persist(MEMORY_AND_DISK_SER). Will using …

scala apache-spark rdd kryo
Resolving "Kryo serialization failed: Buffer overflow" Spark exception

I am trying to run Spark (Java) code and getting the error org.apache.spark.SparkException: Kryo serialization failed: Buffer …

apache-spark kryo
Kryo Deserialization fails with "KryoException: Buffer underflow"

I use Kryo to write Objects into byte arrays. It works fine. But when the byte arrays are converted into …

java serialization io kryo
Generic Java serialization/deserialization using Kryo

I am trying to serialize and deserialize objects of a custom class (say, SomeClass, having a default no-args constructor) to …

java serialization deserialization kryo
Automatic class registration in Kryo

As I understand, Kryo creates a className<->numberID map in every writeObject. This map is too narrow. …

java kryo