cancel
Showing results for 
Search instead for 
Did you mean: 
Data Governance
Join discussions on data governance practices, compliance, and security within the Databricks Community. Exchange strategies and insights to ensure data integrity and regulatory compliance.
cancel
Showing results for 
Search instead for 
Did you mean: 

The issue with SQL-endpoint + external hive metastore

vpismarev
New Contributor

Hi

We have faced an issue recently (everything worked well 1 week before)

We are using exnernal hive metastore:

"spark.hadoop.datanucleus.connectionPool.maxPoolSize" : "10"
 
"spark.sql.hive.metastore.jars" : "/dbfs/ivyjars/*"
 
"spark.sql.hive.metastore.version" : "3.1.0"

and now it looks like all access for the metastore from sql-endpoints are stuck (I am observing a lot of queued session from query history like "show databases", "show table" and so on )

the version of sql-warehouse:

Channel Current (v 2022.40)

We are using rds for hive metastore and I'm observing a lot of idle sessions such as:

idle,,,SET application_name = 'PostgreSQL JDBC Driver'
idle,,,SET application_name = 'PostgreSQL JDBC Driver'
idle,,,SET application_name = 'PostgreSQL JDBC Driver'
idle,,,SET application_name = 'PostgreSQL JDBC Driver'
idle,,,SET application_name = 'PostgreSQL JDBC Driver'
idle,,,SET application_name = 'PostgreSQL JDBC Driver'
idle,,,SET application_name = 'PostgreSQL JDBC Driver'
idle,,,SET application_name = 'PostgreSQL JDBC Driver'
idle,,,COMMIT

What is the issue?

P.S.

The restarting of the SQL -warehouse helps sometimes, but the problem still exists

1 REPLY 1

Ajay-Pandey
Esteemed Contributor III

Generally, this should not be a case. Please raise a support request to databricks

Ajay Kumar Pandey

Connect with Databricks Users in Your Area

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