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

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