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 2024/10/04 00:24:00 UTC

[jira] [Resolved] (SPARK-49859) Replace multiprocessing.ThreadPool in SparkConnect python code

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

Hyukjin Kwon resolved SPARK-49859.
----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

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

> Replace multiprocessing.ThreadPool in SparkConnect python code
> --------------------------------------------------------------
>
>                 Key: SPARK-49859
>                 URL: https://issues.apache.org/jira/browse/SPARK-49859
>             Project: Spark
>          Issue Type: Story
>          Components: Connect
>    Affects Versions: 3.5.4
>            Reporter: Nemanja Boric
>            Assignee: Nemanja Boric
>            Priority: Major
>             Fix For: 4.0.0
>
>
> multiprocessing.ThreadPool requires /dev/shm to be available, so the pyspark connect client doesn't work in environments where it's unavailable. We should replace it with concurrent.futures.ThreadPoolExecutor. 



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