zhoulii commented on pull request #3859: URL: https://github.com/apache/zeppelin/pull/3859#issuecomment-674753722
there is another problem, when starting interpreter-server, [K8sRemoteInterpreterProcess#L283](https://github.com/apache/zeppelin/blob/master/zeppelin-plugins/launcher/k8s-standard/src/main/java/org/apache/zeppelin/interpreter/launcher/K8sRemoteInterpreterProcess.java#L283) would set `ZEPPELIN_HOME` in `interpreter pod` to `/zeppelin`, but the real `ZEPPELIN_HOME` in `interpreter pod` is `/opt/zeppelin`. I think of two ways to slove this issue: **solution 1:** simply hard code `ZEPPELIN_HOME` to `/opt/zeppelin` in [Line 283](https://github.com/apache/zeppelin/blob/master/zeppelin-plugins/launcher/k8s-standard/src/main/java/org/apache/zeppelin/interpreter/launcher/K8sRemoteInterpreterProcess.java#L283) **solution 2:** read `ZEPPELIN_HOME` from env variables. - first, add `ZEPPELIN_HOME` as ENV to `zeppelin-server` container in [zeppelin-server.yaml](https://github.com/apache/zeppelin/blob/master/k8s/zeppelin-server.yaml#L132) `- name: ZEPPELIN_HOME valueFrom: configMapKeyRef: name: zeppelin-server-conf-map key: ZEPPELIN_HOME` - then, change [Line 283](https://github.com/apache/zeppelin/blob/master/zeppelin-plugins/launcher/k8s-standard/src/main/java/org/apache/zeppelin/interpreter/launcher/K8sRemoteInterpreterProcess.java#L283) to `envs.put("ZEPPELIN_HOME", envs.getOrDefault("ZEPPELIN_HOME", System.getenv("ZEPPELIN_HOME")));` ---------------------------------------------------------------- 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