Zeppelin Spark Impersonation Issue

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Zeppelin Spark Impersonation Issue

Ankam Venkat
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