yes, you should register all three.
The truth is, you only *need* to register classes that will get serialized
-- either via RDD caching or in a shuffle. So if a type is only used as an
intermediate inside a stage, you don't need to register it. But the
overhead of registering extra classes is
Hi all
We know that spark support Kryo serialization, suppose there is a map
function which map C to K,V(here C,K,V are instance of class C,K,V), when we
register kryo serialization, should I register all of these three class?
Best Wishes
Triones Deng