โ03-29-2022 11:11 AM
Hi everyone,
We are looking for a way to protect the folder where init script is hosted from editing.
This because we have implemented inside init script a parameter that blocks the download file from R Studio APP Emulator and we would like to avoid that any user edit it.
Is there a way to reach this goal?
thanks so much
โ03-30-2022 06:28 AM
we have solved using global init script but in another way. We have write a script that overwrite the init script on DBFS.
So if someone edit the script at new restart this will be owerwritten by the original.
It's a workaround but it works and we don' t have to install R Studio on all clusters.
โ03-30-2022 02:46 AM
I think the only solution is to use a global init script. Then, only the admin can edit the Global init setting, and you can paste your code there so it will not be on file on dbfs.
โ03-30-2022 03:52 AM
Yes, the only option is to use the global init script as it is restricted to admins. But it will run on all clusters even if it doesn't require R studio. ๐
โ03-30-2022 04:55 AM
exact, we'd like to avoid install R Emulator on all clusters
โ03-30-2022 04:59 AM
so you can consider having a separate Databricks workspace (set-up) for R servers (hive metastore and mounts can be shared)
โ03-30-2022 06:28 AM
we have solved using global init script but in another way. We have write a script that overwrite the init script on DBFS.
So if someone edit the script at new restart this will be owerwritten by the original.
It's a workaround but it works and we don' t have to install R Studio on all clusters.
โ04-14-2022 06:21 AM
Hi @Marco Dataโ
Thank you for sending in your question. It is awesome that you found a solution. Would you like to mark the answer as best so others can find the solution quickly?
Cheers!
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now