Hi Users,

I am trying to setup Zeppelin for multiple users.
and i found there are multiple configurations in different places. started
tinkering with them and i didn't had any luck .
here's my setup and configuration.

Zeppelin server is running as root.

i edited zeppelin-env.sh  and uncommented

export ZEPPELIN_IMPERSONATE_CMD='sudo -H -u ${ZEPPELIN_IMPERSONATE_USER}
bash -c'       # Optional, when user want to run interpreter as end web
user. eg) 'sudo -H -u ${ZEPPELIN_IMPERSONATE_USER} bash -c '
export ZEPPELIN_IMPERSONATE_SPARK_PROXY_USER=true  #Optional, by default is
true; can be set to false if you don't want to use --proxy-user option with
Spark interpreter when impersonation enabled

and  the interpreter settings are as follows

[image: Inline image 1]


for different combination of configurations i am getting different types of
errors

if i do not specify impersonation configuration in zeppelin-env.sh  and
specify impersonation in interpreter setting i am getting a
org.apache.zeppelin.interpreter.InterpreterException:
Host key verification failed.
if i specify both zeppelin impersonation configuration and interpreter
impersonation config, it's throwing error as user1 cannot impersonate user1

if i do not specify any impersonation configuration at all , interpreter is
launching spark-submit as root. that's expected.

could some one please explain me how to set impersonation config and
which configuration i am messing up here


Thanks,
Yeshwanth Jagini

Reply via email to