zeppelin/shell
Prabhjyot Singh e1f0a3205e [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

Author: Prabhjyot Singh <prabhjyotsingh@gmail.com>
Author: prabhjyotsingh <prabhjyotsingh@gmail.com>

Closes #2443 from prabhjyotsingh/ZEPPELIN-2698 and squashes the following commits:

835b4bd03 [Prabhjyot Singh] check for invalid user input; in case of error fall back to default values
a5a54d466 [Prabhjyot Singh] runKerberosLogin block should return false
582372744 [Prabhjyot Singh] change schedule to submit so it runs without wait for the first time. LAUNCH_KERBEROS_REFRESH_INTERVAL to KERBEROS_REFRESH_INTERVAL
7fe883c3e [Prabhjyot Singh] @zjffdu review comments
7f8b8672b [prabhjyotsingh] call `startKerberosLoginThread` and `shutdownExecutorService` in parent class
57ea80c0c [Prabhjyot Singh] apply KerberosInterpreter to JDBCInterpreter
2017-07-07 11:49:43 +05:30
..
src [ZEPPELIN-2698] Apply KerberosInterpreter to JDBCInterpreter 2017-07-07 11:49:43 +05:30
pom.xml ZEPPELIN-1977. spark 2.1 uses a more recent commons-lang3 2017-01-19 19:52:36 -08:00