Skip to content
Prev Previous commit
Next Next commit
SPARK-12080: Kryo - Support multiple user registrators. Improving style
  • Loading branch information
rotems committed Dec 2, 2015
commit 29e519a36b9ed0a664cd71bcc561d088f25ba2c0
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ class KryoSerializer(conf: SparkConf)

private val referenceTracking = conf.getBoolean("spark.kryo.referenceTracking", true)
private val registrationRequired = conf.getBoolean("spark.kryo.registrationRequired", false)
private val userRegistrators = conf.get("spark.kryo.registrator", "").split(',').filter(!_.isEmpty)
private val userRegistrators = conf.get("spark.kryo.registrator", "")
.split(',')
.filter(!_.isEmpty)
private val classesToRegister = conf.get("spark.kryo.classesToRegister", "")
.split(',')
.filter(!_.isEmpty)
Expand Down