Github user FireArrow commented on the issue:
https://github.com/apache/zeppelin/pull/1985
@astroshim That's not what I'm talking about. Assume the following:
Zeppelin run as user "zeppelin"
In `zeppelin-env.sh`: `export ZEPPELIN_IMPERSONATE_CMD='sudo -H -i -u
${ZEPPELIN_IMPERSONATE_USER} bash -c '`
User `zeppelin` have permission to execute paswordless sudo to local users
allowed to log into Zeppelin
Interpreters will with this run as the user starting the process, and the
zeppelin user will not have permission to send any signal to them.
My suggestion is to execute the `kill` with `$ZEPPELIN_IMPERSONATE_CMD` to
make sure the `kill` is executed in the same way as the interpreter was started
in the first place.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---