Hive databases are not visible in Spark session.
Hi,
I am trying to run spark application which will need access to Hive databases. But Hive databases like FOODMART are not visible in spark session.
I did spark.sql("show databases").show(); it is not showing Foodmart database, though spark session is having enableHiveSupport.
Below i've tried:
1)
cp /etc/hive/conf/hive-site.xml /etc/spark2/conf
2)
Changed spark.sql.warehouse.dir in spark UI from /apps/spark/warehouse to /warehouse/tablespace/managed/hive
Even though it is not working.
Please let me know what configuration changes would be required to have this.
Please note - Above is working in HDP2.6.5.

