Hi All
We are trying to create a table in Hive from spark-assembly-1.0.2.jar file.
CREATE TABLE IF NOT EXISTS src (key INT, value STRING)
JavaSparkContext sc = CC2SparkManager.sharedInstance().getSparkContext();
JavaHiveContext sqlContext = new JavaHiveContext(sc);
sqlContext.sql("CREATE TABLE srcd (key INT, value STRING)");
On Spark 1.1 we get the following error:
FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: Unable to
instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
On Spark 1.0.2 we get the following error:
failure: ``UNCACHE'' expected but identifier CREATE found
Could you help understand why we get this error
Thanks
Jacob