You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2019/08/23 09:01:45 UTC

[GitHub] [zeppelin] zjffdu commented on a change in pull request #3430: [ZEPPELIN-4312] enable livy to run as remote interpreter in docker

zjffdu commented on a change in pull request #3430: [ZEPPELIN-4312] enable livy to run as remote interpreter in docker
URL: https://github.com/apache/zeppelin/pull/3430#discussion_r317038711
 
 

 ##########
 File path: zeppelin-plugins/launcher/docker/src/main/java/org/apache/zeppelin/interpreter/launcher/DockerInterpreterProcess.java
 ##########
 @@ -416,14 +417,18 @@ private void copyRunFileToContainer(String containerId)
       intpKeytab = properties.getProperty("submarine.hadoop.keytab", "");
     }
     if (StringUtils.isBlank(intpKeytab)) {
-      // 3.4) jdbc interpreter properties keytab file
+      // 3.4) livy interpreter properties keytab file
+      intpKeytab = properties.getProperty("zeppelin.livy.keytab", "");
+    }
+    if (StringUtils.isBlank(intpKeytab)) {
+      // 3.5) jdbc interpreter properties keytab file
 
 Review comment:
   This seems work, but it is weird to see interpreter specific thing in `DockerInterpreterProcess`. We might need to think about other approach for it. @liuxunorg 

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


With regards,
Apache Git Services