Github user vanzin commented on the issue:

    https://github.com/apache/spark/pull/18343
  
    >  since the custom logic doesn't need to write the full classname out
    
    Hmmm... from 
http://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html:
    "Only the identity of the class of an Externalizable instance is written in 
the serialization stream..."
    
    So the custom code doesn't need to write the class name because the JRE 
libs do that for you, so that's not really a win. So it's mostly a cleaner 
version of the private `readObject` / `writeObject` methods.
    
    But re: kryo, yeah, nothing changes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to