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