cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
cancel
Showing results for 
Search instead for 
Did you mean: 

Install xml maven library

FlavioSM
New Contributor II

When I`m trying to install xml package, I`m getting error PERMISSION_DENIED

 

1 ACCEPTED SOLUTION

Accepted Solutions

Palash01
Contributor III

Hey @FlavioSM 

The error message indicates that the library you're trying to install (com.databricks:spark-xml_2.13:0.17.0) is not on the allowlist for shared clusters in your Databricks workspace. Shared clusters are clusters that multiple users can access and use. For security reasons, it allows only pre-approved libraries to be installed on these clusters.

  1. Easiest fix is to raise this with your databricks administrator or cluster owner and ask them to add this library in allowed list. 
  2. Another fix could be if you can get the admin level permissions or cluster management level permissions.
  3. You can try to install on a single-node share and see if it is out of admin restriction if not then again you'll have to seek permissions.
  4. Explore other libraries which can help you achieve same like - fast-xml and see if these are whitelisted

Let us know if  you have any more questions or concerns.

Leave a like if this helps! Kudos,
Palash

View solution in original post

1 REPLY 1

Palash01
Contributor III

Hey @FlavioSM 

The error message indicates that the library you're trying to install (com.databricks:spark-xml_2.13:0.17.0) is not on the allowlist for shared clusters in your Databricks workspace. Shared clusters are clusters that multiple users can access and use. For security reasons, it allows only pre-approved libraries to be installed on these clusters.

  1. Easiest fix is to raise this with your databricks administrator or cluster owner and ask them to add this library in allowed list. 
  2. Another fix could be if you can get the admin level permissions or cluster management level permissions.
  3. You can try to install on a single-node share and see if it is out of admin restriction if not then again you'll have to seek permissions.
  4. Explore other libraries which can help you achieve same like - fast-xml and see if these are whitelisted

Let us know if  you have any more questions or concerns.

Leave a like if this helps! Kudos,
Palash