zjffdu commented on a change in pull request #4024:
URL: https://github.com/apache/zeppelin/pull/4024#discussion_r559402320



##########
File path: jdbc/src/main/java/org/apache/zeppelin/jdbc/JDBCInterpreter.java
##########
@@ -207,6 +207,16 @@ protected boolean runKerberosLogin() {
   @Override
   public void open() {
     super.open();
+
+    // login via keytab first in open method, otherwise the underlying 
runKerbose thread will
+    // fail and cause the interpreter closed.
+    String authType = properties.getProperty("zeppelin.jdbc.auth.type", 
"SIMPLE")
+            .trim().toUpperCase();
+    if (authType.equalsIgnoreCase("KERBEROS")) {

Review comment:
       addressed




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to