JiaJia, I've checkout the latest 1.0 branch, and then do the following steps:
SPAKR_HIVE=true sbt/sbt clean assembly
cd examples
../bin/run-example sql.hive.HiveFromSpark

It works well in my local

>From your log output, it shows "Invalid method name: 'get_table', seems an 
>incompatible jar version or something wrong between the Hive metastore service 
>and client, can you double check the jar versions of Hive metastore service or 
>thrift?


-----Original Message-----
From: JiajiaJing [mailto:jj.jing0...@gmail.com] 
Sent: Saturday, July 19, 2014 7:29 AM
To: u...@spark.incubator.apache.org
Subject: RE: Hive From Spark

Hi Cheng Hao,

Thank you very much for your reply.

Basically, the program runs on Spark 1.0.0 and Hive 0.12.0 .

Some setups of the environment are done by running "SPARK_HIVE=true sbt/sbt 
assembly/assembly", including the jar in all the workers, and copying the 
hive-site.xml to spark's conf dir. 

And then run the program as: "  ./bin/run-example 
org.apache.spark.examples.sql.hive.HiveFromSpark  "

It's good to know that this example runs well on your machine, could you please 
give me some insight about your have done as well?

Thank you very much!

Jiajia







--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Hive-From-Spark-tp10110p10215.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Reply via email to