Re: HiveThriftServer2.startWithContext error with registerTempTable

2015-07-16 Thread Srikanth
*From:* Srikanth [mailto:srikanth...@gmail.com] > *Sent:* Thursday, July 16, 2015 9:36 AM > *To:* user > *Subject:* Re: HiveThriftServer2.startWithContext error with > registerTempTable > > > > Hello, > > > > Re-sending this to see if I'm second time lucky! >

RE: HiveThriftServer2.startWithContext error with registerTempTable

2015-07-15 Thread Cheng, Hao
Have you ever try query the “select * from temp_table” from the spark shell? Or can you try the option --jars while starting the spark shell? From: Srikanth [mailto:srikanth...@gmail.com] Sent: Thursday, July 16, 2015 9:36 AM To: user Subject: Re: HiveThriftServer2.startWithContext error with

Re: HiveThriftServer2.startWithContext error with registerTempTable

2015-07-15 Thread Srikanth
Hello, Re-sending this to see if I'm second time lucky! I've not managed to move past this error. Srikanth On Mon, Jul 13, 2015 at 9:14 PM, Srikanth wrote: > Hello, > > I want to expose result of Spark computation to external tools. I plan to > do this with Thrift server JDBC interface by regi

HiveThriftServer2.startWithContext error with registerTempTable

2015-07-13 Thread Srikanth
Hello, I want to expose result of Spark computation to external tools. I plan to do this with Thrift server JDBC interface by registering result Dataframe as temp table. I wrote a sample program in spark-shell to test this. val hiveContext = new org.apache.spark.sql.hive.HiveContext(sc) > import