cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to run the job on databricks version LTS 9.x and 10.x(AWS)

Paval
New Contributor

Hi Team,

When we tried to change the databricks version from 7.3 to 9.x or 10.x we are getting below error. 

Caused by: java.lang.RuntimeException: MetaException(message:Unable to verify existence of default database: com.amazonaws.services.glue.model.AccessDeniedException: User: arn:aws:sts::9999999999999:assumed-role/DaspDatabricksEc2DaspTechDev/i-0b910000000419 is not authorized to perform: glue:GetDatabase on resource: arn:aws:glue:eu-west-1:99999999999:catalog because no identity-based policy allows the glue:GetDatabase action (Service: AWSGlue; Status Code: 400; Error Code: AccessDeniedException; Request ID: 04375935-b50f-4c96e229d78c; Proxy: null))
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:522)
at org.apache.spark.sql.hive.client.HiveClientImpl.newState(HiveClientImpl.scala:177)
at org.apache.spark.sql.hive.client.HiveClientImpl.<init>(HiveClientImpl.scala:131)
... 63 more
Caused by: MetaException(message:Unable to verify existence of default database: com.amazonaws.services.glue.model.AccessDeniedException: User: arn:aws:sts::99999999999:assumed-role/DaspDatabricksEc2DaspTechDev/i-0b910000000419 is not authorized to perform: glue:GetDatabase on resource: arn:aws:glue:eu-west-1:9999999999999:catalog because no identity-based policy allows the glue:GetDatabase action (Service: AWSGlue; Status Code: 400; Error Code: AccessDeniedException; Request ID: 04375935-b50f-4c96e229d78c; Proxy: null))
at com.amazonaws.glue.catalog.metastore.AWSCatalogMetastoreClient.doesDefaultDBExist(AWSCatalogMetastoreClient.java:236)
at com.amazonaws.glue.catalog.metastore.AWSCatalogMetastoreClient.<init>(AWSCatalogMetastoreClient.java:141)
at com.amazonaws.glue.catalog.metastore.AWSGlueDataCatalogHiveClientFactory.createMetaStoreClient(AWSGlueDataCatalogHiveClientFactory.java:16)
at org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:3028)
at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:3063)
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:503)

is there any difference between 7.3 and 9.x or 10.x

0 REPLIES 0

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