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

Fangchen Li updated SPARK-55152:
--------------------------------
    Description: 
The current Kryo serialization depends on Twitter's chill library, which has no 
Scala 3 support and is unmaintained (last release: June 2021).

 

We have a few options here:
 # Fork chill and take on its maintenance. This requires the least change in 
Spark, but adds extra responsibility and maintenance burden. Update: I forked 
chill and did a full update. The link: 
[https://github.com/forge-labs-dev/chill].  I'm not sure what to do with this 
fork yet. I'll try to get in touch with someone in X and have it merged back.
 # Switch to 
[scala-kryo-serialization|https://github.com/altoo-ag/scala-kryo-serialization],
 which supports Scala 3 but requires Kryo 5.
 # Consider adding [Apache Fory|https://github.com/apache/fory] as an 
alternative serializer. It's much better maintained and much faster than Kryo. 
But we probably still need to keep Kryo for backward compatibility.

  was:
The current Kryo serialization depends on Twitter's chill library, which has no 
Scala 3 support and is unmaintained (last release: June 2021).

 

We have a few options here:
 # Fork chill and take on its maintenance. This requires the least change in 
Spark, but adds extra responsibility and maintenance burden. Update: I forked 
chill and did a full update. The link: 
[https://github.com/forge-labs-dev/chill].  I'm not sure what to do with this 
fork yet. I'll try to get in touch with X and have it merged back.
 # Switch to 
[scala-kryo-serialization|https://github.com/altoo-ag/scala-kryo-serialization],
 which supports Scala 3 but requires Kryo 5.
 # Consider adding [Apache Fory|https://github.com/apache/fory] as an 
alternative serializer. It's much better maintained and much faster than Kryo. 
But we probably still need to keep Kryo for backward compatibility.


> Evaluate serialization strategy for Scala 3 support
> ---------------------------------------------------
>
>                 Key: SPARK-55152
>                 URL: https://issues.apache.org/jira/browse/SPARK-55152
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core
>    Affects Versions: 4.2.0
>            Reporter: Fangchen Li
>            Priority: Major
>
> The current Kryo serialization depends on Twitter's chill library, which has 
> no Scala 3 support and is unmaintained (last release: June 2021).
>  
> We have a few options here:
>  # Fork chill and take on its maintenance. This requires the least change in 
> Spark, but adds extra responsibility and maintenance burden. Update: I forked 
> chill and did a full update. The link: 
> [https://github.com/forge-labs-dev/chill].  I'm not sure what to do with this 
> fork yet. I'll try to get in touch with someone in X and have it merged back.
>  # Switch to 
> [scala-kryo-serialization|https://github.com/altoo-ag/scala-kryo-serialization],
>  which supports Scala 3 but requires Kryo 5.
>  # Consider adding [Apache Fory|https://github.com/apache/fory] as an 
> alternative serializer. It's much better maintained and much faster than 
> Kryo. But we probably still need to keep Kryo for backward compatibility.



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

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

Reply via email to