Skip to content

Conversation

@Leemoonsoo
Copy link
Member

What is this PR for?

When Zeppelin is running in Kubernetes, "View in Spark web UI" gives internal address, instead of address defined in SERVICE_DOMAIN.

I think this problem is side effect of #3375 and this PR includes fix and updated unittest.

What type of PR is it?

Bug Fix

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-4226

How should this be tested?

Run Zeppelin on kubernetes, and run spark job, click "View in Spark web UI" button.

Questions:

  • Does the licenses files need update? no
  • Is there breaking changes for older versions? no
  • Does this needs documentation? no

@Leemoonsoo Leemoonsoo closed this Sep 19, 2019
@Leemoonsoo Leemoonsoo reopened this Sep 19, 2019
@Leemoonsoo Leemoonsoo closed this Sep 19, 2019
@Leemoonsoo Leemoonsoo reopened this Sep 19, 2019
val sparkShims = SparkShims.getInstance(sc.version, properties)
sparkShims.setupSparkListener(sc.master, sparkUrl, InterpreterContext.get)
var webUiUrl = properties.getProperty("zeppelin.spark.uiWebUrl");
if (webUiUrl == null || webUiUrl.trim().length() == 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use StringUtils.isBlank() which is more clean

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated!

@Leemoonsoo Leemoonsoo closed this Sep 20, 2019
@Leemoonsoo Leemoonsoo reopened this Sep 20, 2019
@zjffdu
Copy link
Contributor

zjffdu commented Sep 23, 2019

LGTM

@Leemoonsoo
Copy link
Member Author

Merge to master

@asfgit asfgit closed this in 60e12cd Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants