Skip to content

Commit ea2fdc0

Browse files
guoxiaolongsrowen
authored andcommitted
[SPARK-23675][WEB-UI] Title add spark logo, use spark logo image
## What changes were proposed in this pull request? Title add spark logo, use spark logo image. reference other big data system ui, so i think spark should add it. spark fix before: ![spark_fix_before](https://user-images.githubusercontent.com/26266482/37387866-2d5add0e-2799-11e8-9165-250f2b59df3f.png) spark fix after: ![spark_fix_after](https://user-images.githubusercontent.com/26266482/37387874-329e1876-2799-11e8-8bc5-c619fc1e680e.png) reference kafka ui: ![kafka](https://user-images.githubusercontent.com/26266482/37387878-35ca89d0-2799-11e8-834e-1598ae7158e1.png) reference storm ui: ![storm](https://user-images.githubusercontent.com/26266482/37387880-3854f12c-2799-11e8-8968-b428ba361995.png) reference yarn ui: ![yarn](https://user-images.githubusercontent.com/26266482/37387881-3a72e130-2799-11e8-97bb-dea85f573e95.png) reference nifi ui: ![nifi](https://user-images.githubusercontent.com/26266482/37387887-3cecfea0-2799-11e8-9a71-6c454d25840b.png) reference flink ui: ![flink](https://user-images.githubusercontent.com/26266482/37387888-3f16b1ee-2799-11e8-9d37-8355f0100548.png) ## How was this patch tested? manual tests Please review http://spark.apache.org/contributing.html before opening a pull request. Author: guoxiaolong <[email protected]> Closes apache#20818 from guoxiaolongzte/SPARK-23675.
1 parent 761565a commit ea2fdc0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ private[spark] object UIUtils extends Logging {
224224
{commonHeaderNodes}
225225
{if (showVisualization) vizHeaderNodes else Seq.empty}
226226
{if (useDataTables) dataTablesHeaderNodes else Seq.empty}
227+
<link rel="shortcut icon" href={prependBaseUri("/static/spark-logo-77x50px-hd.png")}></link>
227228
<title>{appName} - {title}</title>
228229
</head>
229230
<body>
@@ -265,6 +266,7 @@ private[spark] object UIUtils extends Logging {
265266
<head>
266267
{commonHeaderNodes}
267268
{if (useDataTables) dataTablesHeaderNodes else Seq.empty}
269+
<link rel="shortcut icon" href={prependBaseUri("/static/spark-logo-77x50px-hd.png")}></link>
268270
<title>{title}</title>
269271
</head>
270272
<body>

0 commit comments

Comments
 (0)