You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Chenyang Zhang (Jira)" <ji...@apache.org> on 2022/06/21 21:26:00 UTC

[jira] [Created] (SPARK-39549) How to get access to the data created in different Spark Applications

Chenyang Zhang created SPARK-39549:
--------------------------------------

             Summary: How to get access to the data created in different Spark Applications
                 Key: SPARK-39549
                 URL: https://issues.apache.org/jira/browse/SPARK-39549
             Project: Spark
          Issue Type: Question
          Components: Pandas API on Spark, Project Infra, PySpark
    Affects Versions: 3.3.0
            Reporter: Chenyang Zhang


I am working on a project using PySpark and I am blocked because I want to share data between different Spark applications. The situation is that we have a running java server which can handles incoming requests with a thread pool, and each thread has a corresponding python process. We want to use pandas on Spark, but have it so that any of the python processes can access the same data in spark. For example, in a python process, we created a SparkSession, read some data, modified the data using pandas on Spark api and we want to get access to that data in a different python process. The core problem is how to share data between different SparkSession or how to let different python process connect to the same SparkSession. I researched a bit but it seems impossible to share data between different python process without using external DB or connect to the same SparkSession. Generally, is this possible / what would be the recommended way to do this with the least impact on performance?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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