Whitelisting GraphFrame Jar files does not work for shared compute.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2024 10:45 PM
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!