GitHub user zjffdu opened a pull request:
https://github.com/apache/zeppelin/pull/2737
ZEPPELIN-3181. Enable impersonation support for kerberized cluster
### What is this PR for?
This is to enable kerberos support for spark yarn mode in impersonation.
Spark has one limitation that you can not specify keytab & proxyuser together.
So this PR would run kinit before launching spark interpreter. so that user can
enable impersonation for secured cluster.
### What type of PR is it?
[Improvement | Feature]
### Todos
* [ ] - Task
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-3181
### How should this be tested?
* Verified manually, see the following screenshot.
### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zjffdu/zeppelin ZEPPELIN-3181
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2737.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2737
----
commit 2ae52980a57d44b9d19da515ecb8594a19af9efb
Author: Jeff Zhang <zjffdu@...>
Date: 2018-01-22T01:00:42Z
ZEPPELIN-3181. Enable kerberos support for Spark Yarn Cluster in
impersonation mode
----
---