[AURON #2307] Add @transient to large fields and use NativePartition to reduce serialization overhead#2309
Open
Deegue wants to merge 1 commit into
Conversation
…uce serialization overhead Introduce NativePartition[P] wrapper to carry original partition payloads through NativeRDD without re-indexing into the partitions array at execution time, which avoids serializing the full partitions array. Key changes: - Add @transient to rddPartitions in NativeRDD - Add NativePartition case class for type-safe partition payload access - Wrap input partitions in NativePartition before NativeRDD creation - Extract original partition via .asInstanceOf[NativePartition[P]].payload
141cd86 to
38d309a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Closes #2307
Rationale for this change
Mark large non-serializable fields with
@transientannotation across NativeExec classes to reduce task serialization size and memory usage.Introduce NativePartition[P] wrapper to carry original partition payloads through NativeRDD without re-indexing into the partitions array at execution time, which avoids serializing the full partitions array.
What changes are included in this PR?
@transientto rddPartitions in NativeRDD@transientto case class parameters in shim Exec classesAre there any user-facing changes?
No.
How was this patch tested?
UTs.