Hi. I am not sure, but you might be able to pull it of by writing your own custom serialization class and use the saveAsObjectFile() on the RDD.
Here is an article on how to create a custom serializer to support Kryo serialization to and from disk. http://blog.madhukaraphatak.com/kryo-disk-serialization-in-spark/ Perhaps you can use it as a base to write a "back-to-binary" override? Sorry for not more detailed answer. Regards, Gylfi. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Writing-binary-files-in-Spark-tp23970p24015.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org