Multiple sessions in one application?

classic Classic list List threaded Threaded
3 messages Options
jgp
Reply | Threaded
Open this post in threaded view
|

Multiple sessions in one application?

jgp
Hi there,

I was curious of what use cases would drive the use of newSession() (as in https://spark.apache.org/docs/latest/api/java/org/apache/spark/sql/SparkSession.html#newSession--).

I understand that you get a cleaner slate, but why would you need it?

Thanks,

jg


Reply | Threaded
Open this post in threaded view
|

Re: Multiple sessions in one application?

Jiaan Geng
This scene is rare.
When you provide a web server for spark. maybe you need it.



--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Multiple sessions in one application?

Mark Hamstra
On the contrary, it is a common occurrence in a Spark Jobserver style of application with multiple users.


On Thu, Dec 20, 2018 at 6:09 PM Jiaan Geng <[hidden email]> wrote:
This scene is rare.
When you provide a web server for spark. maybe you need it.



--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: [hidden email]