08-23-2022 04:50 PM
Our SQL Warehouse Serverless Endpoint started failing from this morning (2022-08-23 18:00:00 UTC):
“
org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Unable to build AWSGlueClient: com.amazonaws.SdkClientException: Unable to find a region via the region provider chain. Must provide an explicit region in the builder or setup environment to supply a region.)
“
I am 100% certain nothing changed from our ends in both AWS and Databricks.
Since all our workflows and DLTs are still running fine and all Databricks services/clusters are using the same instance profile with the same glueCatalog setting, I believe Databricks’ “Serverless Enpoints” are broken because I also fired up a “Classic” SQL Warehouses endpoint and everything worked as expected.
08-23-2022 08:28 PM
This appears to be occurring due to IMDSv2 enabled in the workspace.
https://docs.databricks.com/administration-guide/cloud-configurations/aws/imdsv2.html#migrate
To fix this, can you please try adding the below spark config under SQL Admin Console > Data access Config where you have the glue settings. This will restart the endpoints in the workspace, so please do it off hours.
spark.databricks.hive.metastore.glueCatalog.isolation.enabled false
08-23-2022 08:28 PM
This appears to be occurring due to IMDSv2 enabled in the workspace.
https://docs.databricks.com/administration-guide/cloud-configurations/aws/imdsv2.html#migrate
To fix this, can you please try adding the below spark config under SQL Admin Console > Data access Config where you have the glue settings. This will restart the endpoints in the workspace, so please do it off hours.
spark.databricks.hive.metastore.glueCatalog.isolation.enabled false
08-23-2022 08:50 PM
A few points to be made clear here:
09-12-2022 06:14 AM
Hi @Bo Zhu
Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.
We'd love to hear from you.
Thanks!
10-07-2022 02:10 PM
It was resolved by itself the next day, and apparently it was related to some bugs which hopefully Databricks would crush them soon and improve the whole serverless service
10-10-2022 01:17 AM
Hi @Bo Zhu, Indeed. Thanks for the amazing feedback!
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