Re: Multi-user environment isolation with Zeppelin

2020-02-20 Thread Tien Dat PHAN
Hello Jeff, Regarding your solution, we are thinking of making a script to set up the correct virtualenv when user logging in. We just wonder if there is a way to invoke a script whenever a user just logging in to Zeppelin? With this, we can make the virtualenv switch automatic and users will

Re: Multi-user environment isolation with Zeppelin

2020-02-18 Thread Jeff Zhang
By default the interpreter is shared, but it is easy to make a configuration change for isolated mode. Tien Dat PHAN 于2020年2月18日周二 下午4:11写道: > Hello Jeff, > > Thanks for your advice. > Regarding your solution, it requires extra action from the Zeppelin > deployer to provide the interpreter

Re: Multi-user environment isolation with Zeppelin

2020-02-18 Thread Tien Dat PHAN
Hello Jeff, Regarding your solution, we are thinking of making a script to set up the correct virtualenv when user logging in. We just wonder if there is a way to invoke a script whenever a user just logging in to Zeppelin? With this, we can make the virtualenv switch automatic and users will

Re: Multi-user environment isolation with Zeppelin

2020-02-18 Thread Tien Dat PHAN
Hello Jeff, Thanks for your advice. Regarding your solution, it requires extra action from the Zeppelin deployer to provide the interpreter isolation per user, since Zeppelin does not support such feature by default (as far as we know). Is that right? Best Tien Dat On 2020/02/17 23:14:07,

Re: Multi-user environment isolation with Zeppelin

2020-02-17 Thread Jeff Zhang
In you case, you need to configure different python interpreters for each user. So that they won't conflict with each other. e.g. you can create virtualenv python_a for user a and virtualenv python_b for user b. Then you can create 2 python interpreters and each interpreter have different setting

Multi-user environment isolation with Zeppelin

2020-02-17 Thread Tien Dat PHAN
Dear experts, In our use case, multiple users will work on the same Notebook. They, of course, each have their own user to login. This is managed smoothly with Zeppelin + Shiro. However, we notice that the users share the same environment. This means if user A logins and install a Python