Unable create Data base using Spark.sql


#1

spark.sql(“create database boss_retail_db”)

pyspark.sql.utils.AnalysisException: u’org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Unable to create database path file:/home/bublyboss6247/spark-warehouse/b
oss_retail_db.db, failed to create database boss_retail_db);’


#2

Can you share the entire code?