Spark Excel Library Insufficient Privileges
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 01:02 AM
Hi
We have a shared access mode cluster in which we have installed a maven library for reading excel files into a Spark DataFrame. When using an account with admin rights everything works fine, however when we run it as a standar user we always get `
org.apache.spark.SparkSecurityException: [INSUFFICIENT_PERMISSIONS] Insufficient privileges:`
We have managed to fix this by granting standard users the ANY FILE securable. However we would like to use a different approach since some installed libraries store data of all users in one common temp directory. These libraries might compromise user isolation. Do you know how can we make this work without granting ANY FILE to standard users? Thanks in advance.