I am already compressing RDDs using conf.set(\"spark.rdd.compress\",\"true\")
and persist(MEMORY_AND_DISK_SER)
. Will using Kryo serialization make the
Kryo serialization is a more optimized serialization technique so you can use it to serialize any class which is used in an RDD or Dataframe closure. For some specific information use of Kryo serialization, see below: