You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2020/07/27 15:05:23 UTC
[zeppelin] branch branch-0.9 updated: [hotfix] FLINK_CONF_DIR is
not configurable
This is an automated email from the ASF dual-hosted git repository.
zjffdu pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/branch-0.9 by this push:
new 327c8cc [hotfix] FLINK_CONF_DIR is not configurable
327c8cc is described below
commit 327c8cceb183887650eab4fe30d62a4bb26b931e
Author: Jeff Zhang <zj...@apache.org>
AuthorDate: Mon Jul 27 23:02:13 2020 +0800
[hotfix] FLINK_CONF_DIR is not configurable
---
.../zeppelin/interpreter/launcher/FlinkInterpreterLauncher.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/zeppelin-plugins/launcher/flink/src/main/java/org/apache/zeppelin/interpreter/launcher/FlinkInterpreterLauncher.java b/zeppelin-plugins/launcher/flink/src/main/java/org/apache/zeppelin/interpreter/launcher/FlinkInterpreterLauncher.java
index 248c7e7..dd162b1 100644
--- a/zeppelin-plugins/launcher/flink/src/main/java/org/apache/zeppelin/interpreter/launcher/FlinkInterpreterLauncher.java
+++ b/zeppelin-plugins/launcher/flink/src/main/java/org/apache/zeppelin/interpreter/launcher/FlinkInterpreterLauncher.java
@@ -47,7 +47,9 @@ public class FlinkInterpreterLauncher extends StandardInterpreterLauncher {
throw new IOException(String.format("FLINK_HOME '%s' is a file, but should be directory",
flinkHome));
}
- envs.put("FLINK_CONF_DIR", flinkHome + "/conf");
+ if (!envs.containsKey("FLINK_CONF_DIR")) {
+ envs.put("FLINK_CONF_DIR", flinkHome + "/conf");
+ }
envs.put("FLINK_LIB_DIR", flinkHome + "/lib");
envs.put("FLINK_PLUGINS_DIR", flinkHome + "/plugins");
return envs;