RE: Is HiveContext Thread Safe?

2015-06-17 Thread Cheng, Hao
Yes, it is thread safe. That’s how Spark SQL JDBC Server works.

Cheng Hao

From: V Dineshkumar [mailto:developer.dines...@gmail.com]
Sent: Wednesday, June 17, 2015 9:44 PM
To: user@spark.apache.org
Subject: Is HiveContext Thread Safe?

Hi,

I  have a HiveContext which I am using in multiple threads to submit a Spark 
SQL query using sql method.
I just wanted to know whether this method is thread-safe or not?Will all my 
queries be submitted at the same time independent of each other or will be 
submitted sequential one after the other?

Thanks,
Dinesh


Is HiveContext Thread Safe?

2015-06-17 Thread V Dineshkumar
Hi,

I  have a HiveContext which I am using in multiple threads to submit a
Spark SQL query using *sql* method.
I just wanted to know whether this method is thread-safe or not?Will all my
queries be submitted at the same time independent of each other or will be
submitted sequential one after the other?

Thanks,
Dinesh