GitHub user iijima-satoshi opened a pull request:
https://github.com/apache/zeppelin/pull/2916
ZEPPELIN-3395 Fix: Spark interpreter does not run as impersonated user when
disableâ¦
### What is this PR for?
Fix impersonate spark interpreter.
Currently, impersonate spark interpreter always runs as zeppelin user, not
impersonated user when disable proxy-user option.
### What type of PR is it?
Bug Fix
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-3395
### How should this be tested?
1. ZEPPELIN_IMPERSONATE_SPARK_PROXY_USER=false in zeppelin-env.sh
2. set up user impersonation flag
3. run some job using that spark interpreter
4. spark interpreter process should be created with currently logged-in user
### 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/iijima-satoshi/zeppelin fix-impersonate-spark
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2916.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 #2916
----
commit 13d446d2c4886fccffb4278c4fa18ecbd1121cf7
Author: iijima_satoshi <iijima_satoshi@...>
Date: 2018-04-09T12:24:34Z
Fix: Spark interpreter does not run as impersonated user when disable
proxy-user option
----
---