Skip to content

Commit 1eb7c22

Browse files
committed
[SPARK-11824][WEBUI] WebUI does not render descriptions with 'bad' HTML, throws console error
Don't warn when description isn't valid HTML since it may properly be like "SELECT ... where foo <= 1" The tests for this code indicate that it's normal to handle strings like this that don't contain HTML as a string rather than markup. Hence logging every such instance as a warning is too noisy since it's not a problem. this is an issue for stages whose name contain SQL like the above CC tdas as author of this bit of code Author: Sean Owen <[email protected]> Closes #10159 from srowen/SPARK-11824.
1 parent aec5ea0 commit 1eb7c22

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/src/main/scala/org/apache/spark/ui/UIUtils.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ private[spark] object UIUtils extends Logging {
448448
new RuleTransformer(rule).transform(xml)
449449
} catch {
450450
case NonFatal(e) =>
451-
logWarning(s"Invalid job description: $desc ", e)
452451
<span class="description-input">{desc}</span>
453452
}
454453
}

0 commit comments

Comments
 (0)