- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
Databricks SQL
-
LTS
-
SQL
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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. 😊
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2021 08:45 AM
Could you please share a screenshot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2021 12:38 PM
Attached pic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2021 01:20 PM
@Arif Ali Not seeing the pic. Could you please upload again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2021 01:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2021 02:38 PM
Another question @Arif Ali what is the permission level you inherit from this cluster?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2021 02:44 PM
@Arif Ali There might be a couple of reasons.
- Table ACL is enabled by default in DB SQL, so please ensure that you have permission to the underlying databases as mentioned in https://docs.databricks.com/sql/user/security/data-access-overview.html
- If you're using an external metastore, please add the required Data access configurations as mentioned in https://docs.databricks.com/sql/admin/data-access-configuration.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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. 😊

