cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
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
Valued Contributor

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
Valued Contributor

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
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!