Skip to content

Conversation

@JoshRosen
Copy link
Contributor

@JoshRosen JoshRosen commented Jul 22, 2019

This is a Spark 2.4.x backport of #24357 by @pengbo. Original description follows below:


What changes were proposed in this pull request?

Finish the rest work of #24317, #9030
a. Implement Kryo serialization for UnsafeArrayData
b. fix UnsafeMapData Java/Kryo Serialization issue when two machines have different Oops size
c. Move the duplicate code "getBytes()" to Utils.

How was this patch tested?

According Units has been added & tested

Finish the rest work of apache#24317, apache#9030
a. Implement Kryo serialization for UnsafeArrayData
b. fix UnsafeMapData Java/Kryo Serialization issue when two machines have different Oops size
c. Move the duplicate code "getBytes()" to Utils.

According Units has been added & tested

Closes apache#24357 from pengbo/SPARK-27416_new.

Authored-by: pengbo <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
@SparkQA
Copy link

SparkQA commented Jul 22, 2019

Test build #107974 has finished for PR 25223 at commit d187ae3.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • public final class UnsafeArrayData extends ArrayData implements Externalizable, KryoSerializable
  • final class UnsafeDataUtils
  • public final class UnsafeMapData extends MapData implements Externalizable, KryoSerializable

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much, @JoshRosen .
+1, LGTM. Merged to branch-2.4.

(This is a cherry-pick with resolving two conflicts at KryoSerializer.scala and UnsafeArrayData.)

dongjoon-hyun pushed a commit that referenced this pull request Jul 22, 2019
…erialization …

This is a Spark 2.4.x backport of #24357 by pengbo. Original description follows below:

---

## What changes were proposed in this pull request?
Finish the rest work of #24317, #9030
a. Implement Kryo serialization for UnsafeArrayData
b. fix UnsafeMapData Java/Kryo Serialization issue when two machines have different Oops size
c. Move the duplicate code "getBytes()" to Utils.

## How was this patch tested?
According Units has been added & tested

Closes #25223 from JoshRosen/SPARK-27416-2.4.

Authored-by: pengbo <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
rluta pushed a commit to rluta/spark that referenced this pull request Sep 17, 2019
…erialization …

This is a Spark 2.4.x backport of apache#24357 by pengbo. Original description follows below:

---

## What changes were proposed in this pull request?
Finish the rest work of apache#24317, apache#9030
a. Implement Kryo serialization for UnsafeArrayData
b. fix UnsafeMapData Java/Kryo Serialization issue when two machines have different Oops size
c. Move the duplicate code "getBytes()" to Utils.

## How was this patch tested?
According Units has been added & tested

Closes apache#25223 from JoshRosen/SPARK-27416-2.4.

Authored-by: pengbo <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
kai-chi pushed a commit to kai-chi/spark that referenced this pull request Sep 26, 2019
…erialization …

This is a Spark 2.4.x backport of apache#24357 by pengbo. Original description follows below:

---

## What changes were proposed in this pull request?
Finish the rest work of apache#24317, apache#9030
a. Implement Kryo serialization for UnsafeArrayData
b. fix UnsafeMapData Java/Kryo Serialization issue when two machines have different Oops size
c. Move the duplicate code "getBytes()" to Utils.

## How was this patch tested?
According Units has been added & tested

Closes apache#25223 from JoshRosen/SPARK-27416-2.4.

Authored-by: pengbo <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants