VipinRathor opened a new pull request #4001: URL: https://github.com/apache/zeppelin/pull/4001
### What is this PR for? This PR addresses a problem in JDBC Interpreter where the Kerberos ticket renewal thread and the interpret() function vies for Kerberos ticket during Interpreter initialization and later on, during the ticket renewal, which can lead to an expired ticket intermittently. This PR fixes Kerberos ticket renewal logic in JDBC interpreter: 1. Initialize UGI before using it in runKerberosLogin() 2. Wait 1 second between every call to runKerberosLogin() ### What type of PR is it? [Bug Fix] ### Todos * none ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-5176 ### How should this be tested? * Manual testing on a cluster. Configure JDBC interpreter with Kerberos enabled and make sure that the ticket is valid after the expiration time ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
