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: [email protected]
For additional commands, e-mail: [email protected]