Re: Is SQLContext thread-safe?

2015-04-30 Thread Michael Armbrust
che.spark.sql.SQLContext$$anonfun$parseSql$1.apply(SQLContext.sca > > la:134) > > at > > org.apache.spark.sql.SQLContext$$anonfun$parseSql$1.apply(SQLContext.sca > > la:134) > > at scala.Option.getOrElse(Option.scala:120) > > at > >

Re: Is SQLContext thread-safe?

2015-04-30 Thread Wangfei (X)
se(Option.scala:120) > at > org.apache.spark.sql.SQLContext.parseSql(SQLContext.scala:134) > at org.apache.spark.sql.SQLContext.sql(SQLContext.scala:915) > > -Original Message- > From: Cheng, Hao [mailto:hao.ch...@intel.com] > Sent: Monday, March 02, 2

RE: Is SQLContext thread-safe?

2015-04-30 Thread Haopu Wang
Cheng, Hao [mailto:hao.ch...@intel.com] Sent: Monday, March 02, 2015 9:05 PM To: Haopu Wang; user Subject: RE: Is SQLContext thread-safe? Yes it is thread safe, at least it's supposed to be. -Original Message- From: Haopu Wang [mailto:hw...@qilinsoft.com] Sent: Monday, March 2, 2015 4

RE: Is SQLContext thread-safe?

2015-03-02 Thread Cheng, Hao
SQLContext thread-safe? Hao, thank you so much for the reply! Do you already have some JIRA for the discussion? -Original Message- From: Cheng, Hao [mailto:hao.ch...@intel.com] Sent: Tuesday, March 03, 2015 8:23 AM To: Haopu Wang; user Subject: RE: Is SQLContext thread-safe? Currently

RE: Is SQLContext thread-safe?

2015-03-02 Thread Haopu Wang
Hao, thank you so much for the reply! Do you already have some JIRA for the discussion? -Original Message- From: Cheng, Hao [mailto:hao.ch...@intel.com] Sent: Tuesday, March 03, 2015 8:23 AM To: Haopu Wang; user Subject: RE: Is SQLContext thread-safe? Currently, each SQLContext has its

RE: Is SQLContext thread-safe?

2015-03-02 Thread Cheng, Hao
r a single SQLContext instance. -Original Message- From: Haopu Wang [mailto:hw...@qilinsoft.com] Sent: Tuesday, March 3, 2015 7:56 AM To: Cheng, Hao; user Subject: RE: Is SQLContext thread-safe? Thanks for the response. Then I have another question: when will we want to create multiple

RE: Is SQLContext thread-safe?

2015-03-02 Thread Haopu Wang
user Subject: RE: Is SQLContext thread-safe? Yes it is thread safe, at least it's supposed to be. -Original Message- From: Haopu Wang [mailto:hw...@qilinsoft.com] Sent: Monday, March 2, 2015 4:43 PM To: user Subject: Is SQLContext thread-safe? Hi, is it safe to use the same SQLCon

RE: Is SQLContext thread-safe?

2015-03-02 Thread Cheng, Hao
Yes it is thread safe, at least it's supposed to be. -Original Message- From: Haopu Wang [mailto:hw...@qilinsoft.com] Sent: Monday, March 2, 2015 4:43 PM To: user Subject: Is SQLContext thread-safe? Hi, is it safe to use the same SQLContext to do Select operations in different th

Is SQLContext thread-safe?

2015-03-02 Thread Haopu Wang
Hi, is it safe to use the same SQLContext to do Select operations in different threads at the same time? Thank you very much! - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@s