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

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!