If you enable impersonation in livy server side, the spark application should be launched as the user who login zeppelin. Did you enable impersonation in livy server ?
Michał Kabocik <michal.kabo...@gmail.com>于2017年1月30日周一 下午7:01写道: > Thank you for the reply. > > I know that impersonation is done by livy, but when I have user > impersonation disabled on livy.spark interpreter, then livy impersonates > zeppelin user, not my user. On ranger audit and in yarn history manager I > see zeppelin via livy-session. > What I want to achieve is to have my user (logged in to zeppelin after AD > authentication) impersonated. I need this to be able to apply ranger data > access policies based on the users/groups from AD. > Is there a way to implement this scenario? > > I'll appreciate any suggestions. > Kind regards, > Michał > >