GitHub user prabhjyotsingh opened a pull request: https://github.com/apache/zeppelin/pull/2443
[ZEPPELIN-2698] Apply KerberosInterpreter to JDBCInterpreter ### What is this PR for? This is to apply new KerberosInterpreter mechanism to JDBCInterpreter for relogin from keytab, instead of on fail relogin. ### What type of PR is it? [Refactoring] ### What is the Jira issue? * [ZEPPELIN-2698](https://issues.apache.org/jira/browse/ZEPPELIN-2698) ### 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 Now try and run any of hive's query (say `show tables`) it should return with valid results. Again, wait for this kerberos ticket to expire (usually its 24hrs) then try the above again, and it should work. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? * Is there breaking changes for older versions? * Does this needs documentation? You can merge this pull request into a Git repository by running: $ git pull https://github.com/prabhjyotsingh/zeppelin ZEPPELIN-2698 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/2443.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 #2443 ---- commit 57ea80c0c355752304d0eb7dabc9452ceeebc6c3 Author: Prabhjyot Singh <prabhjyotsi...@gmail.com> Date: 2017-06-27T08:55:13Z apply KerberosInterpreter to JDBCInterpreter ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---