You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2023/07/05 03:07:00 UTC

[jira] [Resolved] (SPARK-44300) SparkConnectArtifactManager#cleanUpResources deletes all artifacts instead of session-specific artifacts

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

Hyukjin Kwon resolved SPARK-44300.
----------------------------------
    Fix Version/s: 3.5.0
       Resolution: Fixed

Issue resolved by pull request 41854
[https://github.com/apache/spark/pull/41854]

> SparkConnectArtifactManager#cleanUpResources deletes all artifacts instead of session-specific artifacts
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-44300
>                 URL: https://issues.apache.org/jira/browse/SPARK-44300
>             Project: Spark
>          Issue Type: Bug
>          Components: Connect
>    Affects Versions: 3.5.0
>            Reporter: Venkata Sai Akhil Gudesa
>            Assignee: Venkata Sai Akhil Gudesa
>            Priority: Major
>             Fix For: 3.5.0
>
>
> _SparkConnectArtifactManager#cleanUpResources_ deletes all resources instead of session-specific resources. 
> This method is triggered through the _userSessionMapping_ cache when an entry is removed ([code|https://github.com/apache/spark/blob/b02ea4cd370ce6a066561dfde9d517ea70805a2b/connector/connect/server/src/main/scala/org/apache/spark/sql/connect/service/SparkConnectService.scala#L304]). Once triggered, further artifact transfers and existing artifact usage would fail. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org