You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Igor Dvorzhak (Jira)" <ji...@apache.org> on 2021/10/16 15:44:00 UTC
[jira] [Updated] (SPARK-37025) Upgrade RoaringBitmap to 0.9.22
[ https://issues.apache.org/jira/browse/SPARK-37025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Dvorzhak updated SPARK-37025:
----------------------------------
Fix Version/s: (was: 2.4.2)
(was: 2.3.4)
(was: 3.0.0)
Affects Version/s: (was: 2.3.3)
(was: 2.4.0)
(was: 3.0.0)
(was: 2.2.0)
(was: 2.1.0)
(was: 2.0.0)
3.2.0
Description: (was: HighlyCompressedMapStatus uses RoaringBitmap to record the empty blocks. But RoaringBitmap-0.5.11 couldn't be ser/deser with unsafe KryoSerializer.
We can use below UT to reproduce:
{code}
test("kryo serialization with RoaringBitmap") {
val bitmap = new RoaringBitmap
bitmap.add(1787)
val safeSer = new KryoSerializer(conf).newInstance()
val bitmap2 : RoaringBitmap = safeSer.deserialize(safeSer.serialize(bitmap))
assert(bitmap2.equals(bitmap))
conf.set("spark.kryo.unsafe", "true")
val unsafeSer = new KryoSerializer(conf).newInstance()
val bitmap3 : RoaringBitmap = unsafeSer.deserialize(unsafeSer.serialize(bitmap))
assert(bitmap3.equals(bitmap)) // this will fail
}
{code}
Upgrade to latest version 0.7.45 to fix it)
> Upgrade RoaringBitmap to 0.9.22
> -------------------------------
>
> Key: SPARK-37025
> URL: https://issues.apache.org/jira/browse/SPARK-37025
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 3.2.0
> Reporter: Igor Dvorzhak
> Assignee: Lantao Jin
> Priority: Major
> Labels: correctness
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org