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 2021/05/14 09:22:46 UTC
[zeppelin] branch master updated: [ZEPPELIN-5365] displayedJMWebUrl
of flink interpreter is not correctly initialized
This is an automated email from the ASF dual-hosted git repository.
zjffdu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push:
new 160c36b [ZEPPELIN-5365] displayedJMWebUrl of flink interpreter is not correctly initialized
160c36b is described below
commit 160c36b599faefcbfacd430170470faeb653d988
Author: Jeff Zhang <zj...@apache.org>
AuthorDate: Wed May 12 11:32:44 2021 +0800
[ZEPPELIN-5365] displayedJMWebUrl of flink interpreter is not correctly initialized
### What is this PR for?
Trivial PR fix the displayedJMWebUrl initialization.
### What type of PR is it?
[Bug Fix ]
### Todos
* [ ] - Task
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-5365
### How should this be tested?
* CI pass and manually tested
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
Author: Jeff Zhang <zj...@apache.org>
Closes #4114 from zjffdu/ZEPPELIN-5365 and squashes the following commits:
6de340acf7 [Jeff Zhang] [ZEPPELIN-5365] displayedJMWebUrl of flink interpreter is not correctly initialized
---
.../main/scala/org/apache/zeppelin/flink/FlinkScalaInterpreter.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink/interpreter/src/main/scala/org/apache/zeppelin/flink/FlinkScalaInterpreter.scala b/flink/interpreter/src/main/scala/org/apache/zeppelin/flink/FlinkScalaInterpreter.scala
index 1214009..459ff7b 100644
--- a/flink/interpreter/src/main/scala/org/apache/zeppelin/flink/FlinkScalaInterpreter.scala
+++ b/flink/interpreter/src/main/scala/org/apache/zeppelin/flink/FlinkScalaInterpreter.scala
@@ -321,7 +321,7 @@ class FlinkScalaInterpreter(val properties: Properties) {
}
}
- if (this.displayedJMWebUrl != null) {
+ if (this.displayedJMWebUrl == null) {
// use jmWebUrl as displayedJMWebUrl if it is not set
this.displayedJMWebUrl = this.jmWebUrl
}