โ11-15-2021 08:37 AM
I have a cluster running on 7.3 LTS and it has about 35+ databases. When i tried to setup an endpoint on Databricks SQL, i do not see any database listed.
โ11-16-2021 07:04 PM
hi @Arif Aliโ You may have to check the data access config to add the params for external metastore:
spark.hadoop.javax.jdo.option.ConnectionDriverName org.mariadb.jdbc.Driver
spark.hadoop.javax.jdo.option.ConnectionUserName <mysql-username>
spark.hadoop.javax.jdo.option.ConnectionPassword <mysql-password>
spark.sql.hive.metastore.version <hive-version>
spark.sql.hive.metastore.jars <hive-jar-source>
If the data access config is already added, it is likely the metastore initialization is taking longer. ie( spark to apply the spark configs to load metastore). If given some more time it will initialize the metastore and enables schema browsing. If still issues, the configs may be wrong, you shall have them validated on interactive Databricks cluster before applying in SQL endpoints.
In the near future with the Unity catalog, the schema browsing is cluster less. The dependency on having a cluster is removed. ๐
โ11-15-2021 08:45 AM
Could you please share a screenshot?
โ11-15-2021 12:38 PM
Attached pic
โ11-15-2021 01:20 PM
@Arif Aliโ Not seeing the pic. Could you please upload again.
โ11-15-2021 01:46 PM
โ11-15-2021 02:38 PM
Another question @Arif Aliโ what is the permission level you inherit from this cluster?
โ11-15-2021 04:13 PM
I have admin privileges on the cluster and also full access to the endpoint. Metastore is external and do i need to do anything in order to get databases listed on the Databricks SQL.
โ11-15-2021 02:44 PM
@Arif Aliโ There might be a couple of reasons.
โ11-16-2021 07:04 PM
hi @Arif Aliโ You may have to check the data access config to add the params for external metastore:
spark.hadoop.javax.jdo.option.ConnectionDriverName org.mariadb.jdbc.Driver
spark.hadoop.javax.jdo.option.ConnectionUserName <mysql-username>
spark.hadoop.javax.jdo.option.ConnectionPassword <mysql-password>
spark.sql.hive.metastore.version <hive-version>
spark.sql.hive.metastore.jars <hive-jar-source>
If the data access config is already added, it is likely the metastore initialization is taking longer. ie( spark to apply the spark configs to load metastore). If given some more time it will initialize the metastore and enables schema browsing. If still issues, the configs may be wrong, you shall have them validated on interactive Databricks cluster before applying in SQL endpoints.
In the near future with the Unity catalog, the schema browsing is cluster less. The dependency on having a cluster is removed. ๐
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group