Here is from documentation:

Spark SQL is designed to be compatible with the Hive Metastore, SerDes and UDFs. Currently Spark SQL is based on Hive 0.12.0 and 0.13.1.

On Sun, May 17, 2015 at 1:48 AM, ayan guha <> wrote:

Try with Hive 0.13. If I am not wrong, Hive 0.14 is not supported yet, definitely not with 1.2.1 :)

On Sun, May 17, 2015 at 1:14 AM, smazumder <> wrote:

I'm trying to execute simple sql statement from spark-shell

val sqlContext = new org.apache.spark.sql.hive.HiveContext(sc) - This one
executes properly.

Next I'm trying -
sqlContext.sql("CREATE TABLE IF NOT EXISTS src (key INT, value STRING)")

This keeps on trying to connect Metastore but could nener. The error I'm
getting is -

Trying to connect to metastore with URI thrift://<host-name>.com:9083
set_ugi() not successful, Likely cause: new client talking to old server.
Continuing without it.
Connection reset

Any idea ?

I'm using Spark 1.2.1 and Hive is 0.14.


View this message in context:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

Best Regards,
Ayan Guha

Best Regards,
Ayan Guha