Created 11-04-2016 01:05 PM
Hi,
Docs says:
"Shell interpreter uses Apache Commons Exec to execute external processes. In Zeppelin notebook, you can use %sh
in the beginning of a paragraph to invoke system shell and run commands. Note : Currently each command runs as the user Zeppelin server is running as."
Is there any way we can execute the shell interpreter as the current Zeppelin user? Like introducing a special shell for Apache Commons Exec, passing a $USER parameter etc?
/Best regards, Mats
Created 11-04-2016 06:41 PM
This needs 2 steps
Thanks
Created 11-07-2016 04:01 PM
Hi @vshukla,
How do I enable impersonation for %sh?
I can't find it in the Zeppelin GUI or in the docs?
/Best regards, Mats
Created 11-26-2016 03:12 AM
It is in the interpreter setting page, make sure you are using zeppelin of HDP, community version of zeppelin doesn't have this feature.