You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Sukhmeet Sethi <su...@absolutdata.com> on 2015/07/10 10:32:25 UTC
HiveContext with Cloudera Pseudo Cluster
Hi All,
I am trying to run a simple join on Hive through SparkShell on pseudo
cloudera cluster on ubuntu machine :
*val hc = new HiveContext(sc);*
*hc.sql("use testdb");*
But it is failing with the message :
org.apache.hadoop.hive.ql.parse.SemanticException: Database does not exist:
testdb
The same seems to work on hive console.
Would appreciate any help to solve the same.
Regards,
Sukhi