Use Kryo serialization, which is initialized by a common DefaultConf (SparkConf) used for test, console, main