mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
[ZEPPELIN-2714] Minor final fix
This commit is contained in:
parent
294dea8fbc
commit
edf29cc1ed
1 changed files with 2 additions and 1 deletions
|
|
@ -1046,8 +1046,9 @@ public class SparkInterpreter extends Interpreter {
|
|||
sparkUrl = getSparkUIUrl();
|
||||
Map<String, String> infos = new java.util.HashMap<>();
|
||||
infos.put("url", sparkUrl);
|
||||
String uiEnabledProp = property.getProperty("spark.ui.enabled", "true");
|
||||
java.lang.Boolean uiEnabled = java.lang.Boolean.parseBoolean(
|
||||
property.getProperty("spark.ui.enabled", "true"));
|
||||
uiEnabledProp.trim());
|
||||
if (!uiEnabled) {
|
||||
infos.put("message", "Spark UI disabled");
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue