You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Ankam Venkat <an...@gmail.com> on 2017/05/25 16:58:16 UTC

Zeppelin Spark Impersonation Issue

Hello Zeppelin Experts,

I am using 0.7.1 version of Zeppelin on a kerberized HDP 2.5 platform. I
enabled user impersonation in sh and spark interpretors. Sh interpreter
worked after adding below line in zeppelin-env.sh

export ZEPPELIN_IMPERSONATE_CMD='sudo -H -u ${ZEPPELIN_IMPERSONATE_USER}
bash -c'

whoami command works in shell but kinit command does not work.

Spark complains that No valid credentials provided.

Impersonation in sh worked after starting zeppelin as a root user. As a
zeppelin user it did not work.

How to make user impersonation work with Spark on a kerberized cluster?
Please share the required configuration.

Thanks for your help.

Regards
Venkat Ankam