spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sukhmeet Sethi <sukhmeet.se...@absolutdata.com>
Subject HiveContext with Cloudera Pseudo Cluster
Date Fri, 10 Jul 2015 08:32:25 GMT
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

Mime
View raw message