GitHub user prabhjyotsingh reopened 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.
    
    
    ### Questions:
    * Does the licenses files need update? N/A
    * Is there breaking changes for older versions? N/A
    * Does this needs documentation? N/A


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

commit 7f8b8672b691ae841d353fb20f4da5c37658de57
Author: prabhjyotsingh <prabhjyotsi...@gmail.com>
Date:   2017-06-30T15:26:50Z

    call `startKerberosLoginThread` and `shutdownExecutorService` in parent 
class

commit 7fe883c3e93829661b0a21f5677624c3b516e003
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2017-07-05T08:24:32Z

    @zjffdu review comments

commit 582372744af6aeba3aba85830e000e3bd2727194
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2017-07-05T15:11:41Z

    change schedule to submit so it runs without wait for the first time.
    LAUNCH_KERBEROS_REFRESH_INTERVAL to KERBEROS_REFRESH_INTERVAL

commit a5a54d4667625df82954c26baac6b4f2a7da8a29
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2017-07-05T15:27:52Z

    runKerberosLogin block should return false

commit 835b4bd03d6a74a84cedf53117e83658dfdc0d08
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2017-07-05T15:44:53Z

    check for invalid user input; in case of error fall back to default values

----


---
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.
---

Reply via email to