- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
User impersonation in Zeppelin
- Labels:
-
Apache Zeppelin
Created ‎05-26-2016 03:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is Zeppelin able to impersonate a user when authentication is used today ?
For instance a user x is authenticated on Zeppelin and run a Spark job. Does Spark see x or Zeppelin ? what about Zeppelin with Livy ?
Created ‎05-26-2016 06:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Bigdata Lover Please take a look here - http://hortonworks.com/apache/zeppelin/#section_3. When you use %spark interpreter, as of now the job runs as Zeppelin. The impersonation works at this point in time, only with the Livy interpreter, %lspark. In this case, the jobs will run as the logged-in user.
Created ‎05-26-2016 04:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think impersonation with Livy will work with set of prerequisites, please refer below article published by @vshukla
https://community.hortonworks.com/articles/34424/apache-zeppelin-on-hdp-242.html
Please also refer for general roadmap https://cwiki.apache.org/confluence/display/ZEPPELIN/Zeppelin+Roadmap
Created ‎05-26-2016 04:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your answer. I have already read these two articles but the situation is not clear.
The first article talks about impersonation in Livy not in Zeppelin. Is Zeppelin able to send the user identity ?
In the second article it's only saying Multi-tenancy and user impersonation are on the roadmap.
I am looking for a an accurate answer.
Thanks
Created ‎05-26-2016 06:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Bigdata Lover Please take a look here - http://hortonworks.com/apache/zeppelin/#section_3. When you use %spark interpreter, as of now the job runs as Zeppelin. The impersonation works at this point in time, only with the Livy interpreter, %lspark. In this case, the jobs will run as the logged-in user.
Created ‎05-26-2016 06:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for confirming that user impersonation works with Livy interpreter %lspark
