You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Tuple contains a Scrooge-generated class instance, serialization is broken. It results in varying exceptions (StackOverFlow, OOM, etc.) when deserializing an instance.
This is only reproduced with the TypedAPI.
The workaround is to convert the instances to a byte array whenever serialization kicks in (between mapper and reducer, between steps, etc.) Or simply use the Fields API.
The text was updated successfully, but these errors were encountered:
I have ran into this issue before but not for all scrooge types: instead this fails if a scrooge class contains an iterable field that is too long, e.g. a list with more than a few thousand elements. It would be great to post your stacktrace, but in my case this was an error that was happening somewhere inside Kryo (I don't have a stacktrace right now). If that is the case then we probably need to write a ScroogeHadoopSerialization similar to this:
When a Tuple contains a Scrooge-generated class instance, serialization is broken. It results in varying exceptions (StackOverFlow, OOM, etc.) when deserializing an instance.
This is only reproduced with the TypedAPI.
The workaround is to convert the instances to a byte array whenever serialization kicks in (between mapper and reducer, between steps, etc.) Or simply use the Fields API.
The text was updated successfully, but these errors were encountered: