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

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

2015-03-10 Thread Cheng, Hao
I am not so sure if Hive supports change the metastore after initialized, I guess not. Spark SQL totally rely on Hive Metastore in HiveContext, probably that's why it doesn't work as expected for Q1. BTW, in most of cases, people configure the metastore settings in hive-site.xml, and will not