[ 
https://issues.apache.org/jira/browse/HUDI-5579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Kudinkin closed HUDI-5579.
---------------------------------
    Resolution: Fixed

> Fixing Kryo classes registration for Spark
> ------------------------------------------
>
>                 Key: HUDI-5579
>                 URL: https://issues.apache.org/jira/browse/HUDI-5579
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: spark
>            Reporter: Alexey Kudinkin
>            Assignee: Alexey Kudinkin
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 0.13.0
>
>
> Due to RFC-46 the profile of the data being serialized by Hudi had changed 
> considerably: previously we're mostly passing around Avro payloads, while now 
> we hold our own internal {{HoodieRecord}} implementations.
> When classes are not explicitly registered w/ Kryo, it would have to 
> serialize class fully qualified name (FQN) as id every time an object is 
> serialized, which carries a lot of [unnecessary 
> overhead|https://github.com/apache/hudi/pull/7026/files#diff-81f9b48f7f7e71b46ea8764c7d63e310c871895d03640ae93c81b09f38306acb].
> To work this around in [#7026|https://github.com/apache/hudi/pull/7026] added 
> {{HoodieSparkKryoRegistrar}} registering some of the commonly serialized Hudi 
> classes. However, during rebasing/merging of the RFC-46 feature branch this 
> changes have been partially reverted and so we need to restore that.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to