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: 

Whitelisting GraphFrame Jar files does not work for shared compute.

spark_user1
New Contributor

Hello,

I'm encountering a Py4JSecurityException while using the GraphFrames jar library in a job task with shared compute. Despite following all documentation to whitelist my jar libraries in Volumes and ensuring compatibility with my Spark and Scala versions, the issue persists.

I've confirmed that my Volumes directory is in the Unity Catalog's allowlist and Table ACLs are not enabled.

Given the size of my input data (~500 million records), using a non-distributed package like NetworkX isn't feasible due to OutofMemoryErrors. Disabling Py4JSecurityException isn't an option, and neither is continuing with single user clusters.

Any guidance on this issue would be greatly appreciated.

Thanks!

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