Re: [SparkSQL] Reuse HiveContext to different Hive warehouse?

2015-03-11 Thread Michael Armbrust
) -- *From:* Cheng, Hao [mailto:hao.ch...@intel.com] *Sent:* Wednesday, March 11, 2015 8:25 AM *To:* Haopu Wang; user; d...@spark.apache.org *Subject:* RE: [SparkSQL] Reuse HiveContext to different Hive warehouse? I am not so sure if Hive supports change the metastore after

RE: [SparkSQL] Reuse HiveContext to different Hive warehouse?

2015-03-11 Thread Haopu Wang
) From: Cheng, Hao [mailto:hao.ch...@intel.com] Sent: Wednesday, March 11, 2015 8:25 AM To: Haopu Wang; user; d...@spark.apache.org Subject: RE: [SparkSQL] Reuse HiveContext to different Hive warehouse? I am not so sure if Hive supports change the metastore after initialized, I guess

[SparkSQL] Reuse HiveContext to different Hive warehouse?

2015-03-10 Thread Haopu Wang
I'm using Spark 1.3.0 RC3 build with Hive support. In Spark Shell, I want to reuse the HiveContext instance to different warehouse locations. Below are the steps for my test (Assume I have loaded a file into table src). == 15/03/10 18:22:59 INFO SparkILoop: Created sql context (with

RE: [SparkSQL] Reuse HiveContext to different Hive warehouse?

2015-03-10 Thread Cheng, Hao
with HiveContext? From: Haopu Wang [mailto:hw...@qilinsoft.com] Sent: Tuesday, March 10, 2015 6:38 PM To: user; d...@spark.apache.org Subject: [SparkSQL] Reuse HiveContext to different Hive warehouse? I'm using Spark 1.3.0 RC3 build with Hive support. In Spark Shell, I want to reuse the HiveContext instance