GitHub user prabhjyotsingh opened a pull request:
https://github.com/apache/zeppelin/pull/1205
[ZEPPELIN-1212] User impersonation support in JDBC interpreter for Hiveâ¦
### What is this PR for?
Add impersonation support to JDBC interpreters, in addition to Kerberos
Authentication to improve auditability in all JDBC interpreters.
### What type of PR is it?
[Bug Fix | Improvement]
### What is the Jira issue?
* [ZEPPELIN-1212](https://issues.apache.org/jira/browse/ZEPPELIN-1212)
### How should this be tested?
In JDBC interpreter setting add following properties
- zeppelin.jdbc.auth.type = KERBEROS
- zeppelin.jdbc.principal = principal value
- zeppelin.jdbc.keytab.location = keytab location
- enable shiro authentication via shiro.ini
Now try and run any of hive's query (say show tables) it should return with
valid results/errors depending on user permission.
### Questions:
* Does the licenses files need update? n/a
* Is there breaking changes for older versions? n/a
* Does this needs documentation? n/a
⦠and Phoenix(Others)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/prabhjyotsingh/zeppelin ZEPPELIN-1212
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1205.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 #1205
----
commit 66824a07445208b4ab4aa407c66abbc488b35eec
Author: Prabhjyot Singh <[email protected]>
Date: 2016-07-19T16:36:16Z
ZEPPELIN-1212 User impersonation support in JDBC interpreter for Hive and
Phoenix(Others)
----
---
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.
---