I've set it as a configurable system property, 'spark.serializer.objectStreamReset', which defaults to 10,000. If set to <= 0 then it turns of the reset.