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!
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