Created 11-10-2016 04:14 PM
We are looking at setting up Zeppelin on top of Livy Server. Does the following settings pass also the kerberos authentication information.
<property> <name>hadoop.proxyuser.livy.groups</name> <value>*</value> </property> <property> <name>hadoop.proxyuser.livy.hosts</name> <value>*</value> </property>
Created 11-10-2016 06:15 PM
Hi Deepak, see my how-to tutorial:
store the certificate in this directory
expand the Advanced zeppelin-env and look for shiro.ini entry. Below is configuration that works with our sampledcfield Cloud.
Use Ambari to update core-site.xml, restart YARN & HDFS after making this change.
Restart hdfs and yarn after this update.
After running the livy notebook make sure the yarn logs show the logged in user as the user that is running, hadoopadmin is the user that is logged in the zeppelin notebook. You should see 2 applications running the livy-session-X and the zeppelin app running in yarn
Created 11-10-2016 06:15 PM
Hi Deepak, see my how-to tutorial:
store the certificate in this directory
expand the Advanced zeppelin-env and look for shiro.ini entry. Below is configuration that works with our sampledcfield Cloud.
Use Ambari to update core-site.xml, restart YARN & HDFS after making this change.
Restart hdfs and yarn after this update.
After running the livy notebook make sure the yarn logs show the logged in user as the user that is running, hadoopadmin is the user that is logged in the zeppelin notebook. You should see 2 applications running the livy-session-X and the zeppelin app running in yarn
Created 11-10-2016 06:33 PM
Thanks @azeltov. To confirm. Does it also work with a Kerberized Cluster ?I am just wondering how the kerberos information is passed.
Created 11-11-2016 12:19 AM
It does work in Kerberized cluster you will need to create keytabs for zeppelin and livy service account.
Created 11-15-2016 03:23 PM
Thanks @azeltov . Even if we create a kerberos token for zeppelin, how does the kerberos tokens for individual users is passed ? All the access to HDFS, Spark and Hive is managed in Ranger for AD user or group and not for Zeppelin user.
Created 11-15-2016 04:01 PM
You must use Livy integration for the user tokens to be passed.
Created 01-26-2017 12:29 PM
The tokens aren't passed. zeppelin authenticates itself with livy and as it is a superuser (livy.superusers) livy takes the proxyUser sent by zeppelin and becomes that user.