Hi,
I am unable to create a database using HiveContext. Please check and revert ASAP.
scala> val hiveContext = new HiveContext(sc)
scala> hiveContext.sql(“create database myspark”)
org.apache.spark.sql.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Unable to create d
atabase path file:/home/maheshharuvaiah8134/scala_j/sreeram/spark-warehouse/myspark.db, failed to create database myspark);
Thanks,
Mahesh .H