Maybe we can get rid of the serializer factories altogether. We could enhance the Serializers with a method duplicate() that does nothing for stateless serializers and does a deep copy for stateful serializers. This would also consolidate all the knowledge about stateful/stateless in one place.
On Fri, Jan 30, 2015 at 11:25 AM, Aljoscha Krettek <aljos...@apache.org> wrote: > Of course it doesn't work. The ClassLoader is declared transient in > the serializer factory, so it is Null once the factory has been > serialized/deserialized once. I open a Jira issue: > https://issues.apache.org/jira/browse/FLINK-1463 > > On Thu, Jan 29, 2015 at 9:43 PM, Stephan Ewen <se...@apache.org> wrote: >> Thanks for reporting this, Arvid. I remember that we saw something similar >> a while back. I will take a look at this later today (I am in PST zone >> now), can hopefully fix this. >> >> Greetings, >> Stephan