You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Venkata Sai Akhil Gudesa (Jira)" <ji...@apache.org> on 2023/07/04 13:02:00 UTC

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

Venkata Sai Akhil Gudesa created SPARK-44300:
------------------------------------------------

             Summary: 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


_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