cancel
Showing results for 
Search instead for 
Did you mean: 
Data Governance
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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.