spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Han JU <ju.han.fe...@gmail.com>
Subject System property for Kryo's setRegistrationRequired
Date Wed, 16 Oct 2013 10:28:30 GMT
Hi,

I think maybe it's better to have an option to force class registration
when using Kryo, mainly to prevent human errors.
Kryo has a setRegistrationRequired method and by default the check is false
(in kryo and in chill). Maybe we can have a system property for setting
this? Like:

System.setProperty("spark.kryo.registrationRequired", true)

What you say about this?
-- 
*JU Han*

Data Engineer @ Botify.com

+33 0619608888

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message