[
https://issues.apache.org/jira/browse/SPARK-61070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-61070.
----------------------------------
Fix Version/s: connect-rust-4.3.0
Resolution: Fixed
Issue resolved by pull request 261
[https://github.com/apache/spark-connect-rust/pull/261]
> Stream the chunks of artifact uploads, and refuse class files in
> addArtifacts, in the Rust client as PySpark does
> -----------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-61070
> URL: https://issues.apache.org/jira/browse/SPARK-61070
> Project: Spark
> Issue Type: Bug
> Components: Connect
> Affects Versions: 5.0.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
> Fix For: connect-rust-4.3.0
>
>
> addArtifacts in the Rust Spark Connect client holds two copies of an upload
> (the frames are built up front and cloned for each attempt), so uploading a
> 300 MB jar peaks at about 500 MB of memory where PySpark 4.3.0 peaks at about
> 170 MB, and the Python client uploads a .class file where PySpark raises
> PySparkRuntimeError UNSUPPORTED_OPERATION.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]